Re: Sorting filenames the way the Finder does?
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