The default JavaScript sort sorts German accented characters at the end of the alphabet. This can be fixed by using str1.localeCompare(str2). Can we replace the alpha sort with
this? Does it handle case-sensitivity correctly?
Confirmation from Mark Scherer: it does work