Open spencerhusak opened 6 months ago
That is "lexicographic order", instead of looking at the whole number, it's sorting from left to right. So any "1" number, 1, 100, 1000, etc, is going to come before any "2" number and so forth and so on. The way to fix that is to pad/prefix lower numbers with zeros.