From: John J. <jj...@as...> - 2006-08-08 17:29:23
|
Hi, I think it is a good idea. Alphabetizing occurred to me in the past, but I didn't do it in part because it is also somewhat arbitrary, and in part out of laziness. But, it would certainly be the easiest To impart some other ordering, having an auxilliary file with this information in it would be a simple way to go. When the database loads (by running loadDB2) it can read this information into the database as well. The internal changes to webwork would still be minimal, confined to the file ListingDB.pm. John Arnold Pizer wrote: >I find the ordering of Subjects, Chapters and Sections in the >"Problem Library" strange and confusing. E.g. select "Calculus" and >then list the Chapters. Except for the "All ..." on top, it looks >like the rest show up in a random order. > >One thing we could do is to use an alphabetic/numeric sort so at >present everything below "All ..." would be alphabetic and in the >future if someone decides to add numerical labels, e.g. rename >"Advanced Calculus" to "17. Advanced Calculus", then this would be >the 17th item on the list. Maybe a better thing to do would be to >set up a hash and assign a numerical value to each heading and then >list the items in numerical order. Using this it would be easy to add >a new items anywhere in the list. There would be a little work in >coming up with a good ordering but probably we would just follow the >ordering in popular text books. > >Any comments or other ideas on this? > |