2 ms·
TLDR: the author found out about natural ordering [0], i.e. treating a sequence of digits as a number while sorting. Usually preferable, except when not. Just
by perching_aix 1y ago
TLDR: the author found out about natural ordering [0], i.e. treating a sequence of digits as a number while sorting.
Usually preferable, except when not. Just like distinguishing between upper- and lowercase letters, and other misery.
[0] https://en.wikipedia.org/wiki/Natural_sort_order https://en.wikipedia.org/wiki/Natural_sort_order
- thaumasiotes 1y ago> Usually preferable, except when not. Just like distinguishing between upper- and lowercase letters When would it be preferable to distinguish between capital and lowercase letters? Wiktionary does it religiously, and it always makes the entries worse. Want to know what something means in German? Well, that's on a separate page. Do you want to look something up while using your phone? Don't be stupid; use a desktop that won't autocapitalize the first letter you type in.
- perching_aix 1y agoWhen you're dealing with unix-y Git repositories for example. If you mean more from a user perspective, it really depends. For registry keys for example, since they're interacted with programmatically for the most part, I was expecting them to be case-sensitive. They're case-insensitive though, so that was a bit of a whiplash.