Sorting non English names in Javascripts [duplicate]
问题 This question already has answers here : How to compare Unicode strings in Javascript? (6 answers) Closed 5 years ago . I'm using the following script in order to sort (alphabetically) columns in HTML tables. The script works like a charm except that I don't have full control of non-English characters. If I have a word beginning with “Ü” for example, this is not treated like a “U” (as it should be). There is an easy way to transliterate characters before performing the sorting (like ü->u, ä-