I have a text list of items that will be going on about 300 different pages. Each page will have a different list of a different length.
The list will be something like "list/page1.txt" or something.
The file will look something like this:
apple
orange
banana
car
thing
other thing
something else
34th item
house
Some lists will have 3 items, and some will have about 80 items.
I would like the list to be alphabetically sorted, and then put into 1, 2, or 3 columns depending on the size of the list.
I think the list should be a minimum of about 7 items per column.
Between 8 and 14 and it should be 2 columns.
Between 15 and whatever and it should be 3 columns.
The colums should be alphbetically sorted top to bottom in the 1st column, then continue to the 2nd column, etc. (as opposed to sorting from left to right, then again, left to right from column to column to column to the next row).
And, it would be great if the list results could have <LI> and </LI> wrapped around them so it's in bullet form.
I searched for something like this, but could only find a partial solution.
Help please?