View Single Post
Old 06-13-2012, 03:58 PM   #25
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BeccaPrice View Post
All of this is fascinating, but what I really need is a list or chart that says "this is what the sort order is (special characters - be specific) (numbers)(letters alpha regardless of case)"

I've got the last two, but I can't find the first requirement.

When I get this thing done, I'll post the url to the webhelp files.
The answer is language (locale) dependent. One must look at the ISO definitions and the ICU tables. For example, in some cases the letters áéíóú and àèìòù are considered special, where in others such as French they are considered letters. In French the quote marks are « and » where in English the character is ", and they sort differently.

The technical term for sort ordering is "collation". As I said, calibre uses the ICU libraries to do sorting. The collation tables for ICU can be found at http://www.collation-charts.org/icu442/. The English collation chart is at http://www.collation-charts.org/icu442/icu442-en.html. I can't guarantee they are correct, but they look right.
chaley is offline   Reply With Quote