This Perl Beginner would appreciate advice on how to tackle this problem ...
I need to sort lists of strings -- alphabetically, but insensitive to case or the presence of diacritics. For example, characters e E é É ê Ê è should be considered equivalent. I have a temporary sort function which I consider a monstrous hack -- it converts the diacritic characters to their non-diacritic equivalent, then lower-casing before performing the cmp comparison. It works, but it's inefficient and non-scaleable. There must be a better way -- anyone know what it is?
Background:In reply to Diacritic-Insensitive and Case-Insensitve Sorting by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |