Log in

View Full Version : Can HTML sorts texts alphabetically? See this.


TaMpE
12-24-2009, 08:00 AM
I am planning to add a huge list of TV show names in some forums and the list will show up inside the "Notice" box that vBulletin has. But I might add more into the list later and I don't feel like rearranging the list manually when there are going to be like 40+ or more. I'm planning to do this using the table HTML but I am not even good at coding but I will try and come back if I can't crack my head LOL.

But first I would like to ask if there's away to let HTML alphabetically sort my list for me. The code list will be something like this

Oklahomer
Whatboot
Atilon

and will output as

Atilon
Oklahomer
Whatboot

By the way, there is going to be more than 1 column since I don't want the long list to take the whole page and also use the free horizontal space.

Thanks

Lynne
12-24-2009, 02:00 PM
html is static, it's doesn't *do* anything. You'd have to use some code, like php, to put things in alphabetical order. But, you can't put php in a notice.

TaMpE
12-24-2009, 10:45 PM
html is static, it's doesn't *do* anything. You'd have to use some code, like php, to put things in alphabetical order. But, you can't put php in a notice.

Oh, I see. Thanks Lynne for the reply.