Closed XHXIAIEIN closed 3 months ago
Sorting is used in a great deal of places all across the editor, and each case probably needs evaluating to determine whether locale sorting is appropriate or not. Therefore this is probably quite a significant amount of upgrade/refactoring work, and I think this is better categorised as a feature request.
Problem description
Currently, the editor use encoding order when sorting. But in non-English, usually not used this order, but is according to the dictionary order of the local language.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare
Attach a .c3p
issue-dictionary-sort.c3p.zip
Steps to reproduce
Observed result
for example in Chinese
Expected result
and this
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator
More details
Affected browsers/platforms:
First affected release:
System details
View details
PASTE HERE