Neat strategies for sorting a list of files alphabetically by name
Neat strategies for sorting a list of files alphabetically by name
- Subject: Neat strategies for sorting a list of files alphabetically by name
- From: Brennan <email@hidden>
- Date: Fri, 11 Mar 2005 16:01:09 +0100
I have some files which I'd like to make into a text list. Let's assume
they are named thusly
01 - this.mp3
02 - this.mp3
03 - this.mp3
04 - this.mp3
I get the files into my script either with a droplet or by using (name of
files of selection of application "finder")
When I get these files into my script, the order is not alphabetical
because (as I have been reliably informed by Chris Nebel some time back)
the order is undefined.
Given that these files sort perfectly in alphabetical order, is there a
good approach for sorting them without writing a full blown sort routine?
Is there perhaps a shell command I can use?
(I am missing Lingo's sorted list datatype!)
Many thanks in advance
Brennan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden