• 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 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


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>)
 >Re: Sorting Array Alphabetically (From: Ricky Sharp <email@hidden>)
 >Re: Sorting Array Alphabetically (From: Deborah Goldsmith <email@hidden>)

  • Prev by Date: Getting ColorSync profile path
  • Next by Date: Re: Getting ColorSync profile path
  • Previous by thread: Re: Sorting Array Alphabetically
  • Next by thread: NSMutableArray becomes NSString?
  • Index(es):
    • Date
    • Thread