• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Neat strategies for sorting a list of files alphabetically by name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: paste into - indesign
  • Next by Date: Re: Neat strategies for sorting a list of files alphabetically by name
  • Previous by thread: Re: paste into - indesign
  • Next by thread: Re: Neat strategies for sorting a list of files alphabetically by name
  • Index(es):
    • Date
    • Thread