• 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: Sorting filenames the way the Finder does?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting filenames the way the Finder does?


  • Subject: Re: Sorting filenames the way the Finder does?
  • From: James Bucanek <email@hidden>
  • Date: Thu, 7 Jun 2007 15:50:32 -0700

Scott Anguish <mailto:email@hidden> wrote (Thursday, June 7, 2007 3:45 PM -0400):

it says

Lists being sorted for end users should *always* use
localizedCompare: or localizedCaseInsensitiveCompare:. Only use
compare: if the end user will not see the ordering.


thus, *always* and my pointer

If one defines "always" as "always, except when the Finder does it", then that statement is true and is certainly useful advice. But still doesn't answer the question.


I present a list of filenames obtained from the Finder. I want to present the list in the same order they would appear in the Finder. General advice for sorting arbitrary text in lists doesn't help.

--
James Bucanek

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Sorting filenames the way the Finder does?
      • From: Jim Correia <email@hidden>
References: 
 >Re: Sorting filenames the way the Finder does? (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: Sorting filenames the way the Finder does?
  • Next by Date: Re: Sorting filenames the way the Finder does?
  • Previous by thread: Re: Sorting filenames the way the Finder does?
  • Next by thread: Re: Sorting filenames the way the Finder does?
  • Index(es):
    • Date
    • Thread