Quote:
Originally Posted by Changes
The file browser in Debian has the annoying habit of not considering the zeroes... This can be quite annoying. Can I get it to stop doing that?
|
I guess some consider this a 'feature' (natural sorting) rather than a 'bug'. It would be nice if it was configurable.
There have been bug reports about this, but people confuse two different issues in the bug report discussions: first is the order of sorting of numerical values; and second is the alphanumeric collation order.
The
gnome browser (
nautilus) does respect the environment collation order (though I found I had to set LC_COLLATE in
.gnomerc). This will affect for example whether alphabetic case follows ASCII order or is interleaved.
However, I could not find a way to change the numerical sorting (which as you point out, sorts according to decimal
value rather than strict collation order). This included looking in the settings in
gnome-conf, but could not see anything relevant.
Some have solved the problem by switching to a different file browser, such as
xfe, but this seems like a heavy-handed solution to me.
Incidentally, Microsoft made the same change in Windows Explorer (WinXP and later). It is especially annoying when the numbers in the filenames are in hex.