PDA

View Full Version : Alphabetize Table or Tree Object???


Animl
07-23-2006, 11:56 PM
To explain what I have.
From the examples page I used the Splitter example, and some edited script from the "File Browser with Tree" example and created a folder browser, much like XP Explorer. Everything works exactly as it should it loads the tree with the folders, drives, images and all that very quickly.

My Snag
The folders placed in the tree object from the FolderFind search table are not alphabetized. So I'm assuming I need to alphabetize the table first before inserting items into tree object?

If I could get over this hump I have a finished product. If nothing else, a good example to add to the collection here.

Any help on how to alphabetize a table would be deeply appreciated.

TJ_Tigger
07-24-2006, 07:18 AM
Any help on how to alphabetize a table would be deeply appreciated.

Table.Sort(myTable)

Animl
07-24-2006, 01:09 PM
Table.Sort(myTable)

WOW thanks.
Me feels very stupid right about now.

Animl

TJ_Tigger
07-24-2006, 01:33 PM
Me feels very stupid right about now.



Yeah, don't. I have done the same thing. I asked a question about how would one do such-and-such and someone posted out that there was an action for it. :lol

Oh well. It happens to us all.

Tigg