Re: Sorting Array Alphabetically
Re: Sorting Array Alphabetically
- Subject: Re: Sorting Array Alphabetically
- From: Ricky Sharp <email@hidden>
- Date: Mon, 16 Apr 2007 19:10:22 -0500
On Apr 16, 2007, at 6:57 PM, Deborah Goldsmith wrote:
I was actually very pleased to see the collation results of
Hawaiian (I'm originally from Hawai'i). Although, I believe
collation (for now) only looks at the first letter.
Collation looks at one "collation element" at a time. In this case,
a collation element is a letter. So first it looks at the first
letters, then at the second, and so on. A difference in the first
letter is more important than a difference in the second.
Computer collation would not normally do something like sort all
words containing only Hawaiian letters before all other words. That
requires a more specialized sort.
That makes sense. There's probably a hoard of ambiguities that would
make things basically impossible to get right. For example, the name
'Kili' and the word 'kill'. Both contain Hawaiian letters, but alas,
only one is Hawaiian.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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