Comment on sorting of Roman numerals
IntrovertTurtle@lemmy.zip 2 days ago
I’m not sure where the infuriating part is. Computers sort by the left-most symbol to the right-most. The fact that the years are in order is correct, even if the Roman numerals are offset, is still in…order…okay now I see.
It should be sorting alphabetically because X, V, and I, don’t go in that order outside of Roman numerals. Fuck now I am mildly infuriated. Not gonna edit so anyone that needs this revelation has it here.
redshift@lemmy.zip 2 days ago
Would you mind sharing the revelation? I’m not sure yet what’s infuriating. The files are sorted by year primarily; the only tie is 1950, and “I” (in “XIX”) comes before “V” (in “XVIII”) alphabetically, so they’re in order as well.
Alexstarfire@lemmy.world 2 days ago
Read the Roman numeral numbers.
redshift@lemmy.zip 2 days ago
19 and 18 are out of order, but computers don’t sort Roman numerals numerically unless you make them. They’re sorted correctly alphabetically.
Alexstarfire@lemmy.world 2 days ago
But that is what they are talking about. The Roman numbers are out of order. That’s why it’s mildly infuriating. It’s not that what’s happening doesn’t make sense.
IntrovertTurtle@lemmy.zip 2 days ago
Computers sort by characters in order. In English order, I comes before either X or Y. So the fact that these characters are out of order, while on a computer that orders things numerically->alphabetically, means that every part of this image is out of order, by definition of its medium.