locale-aware sorting of the navpane too

This commit is contained in:
ed 2021-10-26 23:59:21 +02:00
parent 79629c430a
commit 527ae0348e

View file

@ -3429,7 +3429,7 @@ var treectl = (function () {
}
delete res['a'];
var keys = Object.keys(res);
keys.sort();
keys.sort(function (a, b) { return a.localeCompare(b); });
for (var a = 0; a < keys.length; a++) {
var kk = keys[a],
ks = kk.slice(1),