getting a file list in sorted order
getting a file list in sorted order
- Subject: getting a file list in sorted order
- From: Jim Brandt <email@hidden>
- Date: Sat, 17 Aug 2002 06:38:33 -0500
I've got a script that for the most part works well for me. The one
thing I don't like about it has to do with the order of a list that
is generated by the command:
set theList to every item of alias source1 whose file type is "TEXT"
This list of aliases is not sorted alphabetically as the file list
would be shown in a list view. I'm guessing the list is built
according to the order the files (at least the ones selected) were
put into the directory in the first place.
The question: Is there a way to tell Applescript to build the list in
a sorted order? If not, is there a simple way to sort a list of
aliases?
Jim Brandt
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.