Re: Sorting Array Alphabetically
Re: Sorting Array Alphabetically
- Subject: Re: Sorting Array Alphabetically
- From: Ricky Sharp <email@hidden>
- Date: Mon, 16 Apr 2007 17:46:38 -0500
On Apr 16, 2007, at 5:11 PM, Deborah Goldsmith wrote:
Here is a good introduction to the issues:
http://icu-project.org/userguide/Collate_Intro.html
If you really want to see how different collation can get, set your
collation order in International Preferences to "Hawaiian."
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.
English primary, Hawaiian secondary:
(aloha, amber, koa, mahalo, pqr, stuff, try, unique, zoo)
Hawaiian primary, English secondary:
(aloha, amber, unique, koa, mahalo, pqr, stuff, try, zoo)
Only 'aloha', 'koa' and 'mahalo' are true Hawaiian words. Had the
algorithm looked at words that contain letters only in the Hawaiian
alphabet, it would have placed those first (alphabetized amongst
themselves). Then, the "foreign" words would follow (also
alphabetized amongst themselves)
But, for the most part, any words starting with any of the 13
Hawaiian letters, will be placed first.
Note the "unique" placement of the word "unique". This is because
words beginning with vowels come before the letters.
___________________________________________________________
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