Quote:
Originally Posted by roger64
I think the obvious solution, if we wish to take into account some locale specs without too much trouble, is to let the user provide an already sorted text list of entries, including delineations for the index-new-letters to be used.
|
I always wonder, on the fundamental side of the problem (i.e., about the ordering itself, not about how to achieve it), what is the best way of sorting multilingual entries.
For example, in Spanish the order is similar to French, with all accented versions of vowels being sorted as if they were the plain vowel (but "ñ" is a separate letter, sorted after "n"). In Swedish the letters "å", "ä", "ö" are separate and sorted at the end, after "z". If I have a list of words in English, Spanish and Swedish, how should I sort "nino", "niña", "ninå"? An English reader would expect "ninå"/"niña", "nino"; a Spanish speaker would expect "ninå", "nino", "niña"; a Swedish speaker would expect "niña", "nino", "ninå".