Comparator reproducing Array.prototype.sort's default ordering (compare
as strings), so histogram key order stays byte-identical to the historic
comparator-free sort — that ordering is observable to every iterating
caller.
[10, 9, 1].sort(default_lexicographic); // [1, 10, 9], as with plain .sort()
Comparator reproducing
Array.prototype.sort's default ordering (compare as strings), so histogram key order stays byte-identical to the historic comparator-free sort — that ordering is observable to every iterating caller.