• 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
Re: getting a file list in sorted order
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting a file list in sorted order


  • Subject: Re: getting a file list in sorted order
  • From: has <email@hidden>
  • Date: Sun, 18 Aug 2002 17:21:54 +0100

Some doofus wrote:

>Some doofus wrote:
>[blah-blah-blah]

One other note about using a quicksort in place of a Finder sort: in
comparing for order, Finder sort considers/ignores characters by
[presumably] the same rules as HFS uses (case-insensitive, etc). The
quicksort will, of course, compare according to whatever
considering/ignoring rules AS is using at the time. If you're using it as
part of a larger project then for robustness you really want to put a
'considering punctuation, hyphens and white space but ignoring case and
diacriticals' block [1] around the quicksort call.

has

[1] This is one of those issues that's _very_ commonly overlooked in AS
code, btw. Explicitly declaring considering/ignoring rules everywhere isn't
usually necessary, but the issue should at least be considered during the
design process: like TIDs, when this one bites, it bites hard.

--
(My email address has changed from <email@hidden> to
<email@hidden>. Please update your address books accordingly.)
_______________________________________________
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.

  • Prev by Date: Re: getting a file list in sorted order
  • Next by Date: Re: string question
  • Previous by thread: Re: getting a file list in sorted order
  • Next by thread: Re: getting a file list in sorted order
  • Index(es):
    • Date
    • Thread