• 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 Array Alphabetically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Sorting Array Alphabetically
      • From: Deborah Goldsmith <email@hidden>
References: 
 >Re: Sorting Array Alphabetically (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Sorting Array Alphabetically (From: Johan Kool <email@hidden>)
 >Re: Sorting Array Alphabetically (From: Deborah Goldsmith <email@hidden>)

  • Prev by Date: TableView Event
  • Next by Date: Re: TableView Event
  • Previous by thread: Re: Sorting Array Alphabetically
  • Next by thread: Re: Sorting Array Alphabetically
  • Index(es):
    • Date
    • Thread