Weird alphanumeric sort order behavior in Thunar
Apparently Thunar is using a alphanumeric sort order I have never seen before and I'm wondering if this is a "feature" or a bug.
For example, I have a number of files that start with the string sub-, followed by 3 alphanumerical characters, like this:
sub-003
sub-01Z
sub-0AB
sub-1AK
sub-1HJ
sub-2OP
This is actually the sort behavior I would expect. Sort by each position of the string. The strings only start to differ at position 4 0 is before 1 before 2 and that should define the order.
Thunar however seems to parse a consecutive amount of characters to a number and then sorts by that interpretation.
So it would do the following:
| filename | "interpretation" |
|---|---|
| sub-0AB | sub-0AB |
| sub-1AK | sub-1AK |
| sub-1HJ | sub-1HJ |
| sub-01Z | sub-1Z |
| sub-2OP | sub-2OP |
| sub-003 | sub-3 |
This is super weird.
