Forum Moderators: open
123456aaa
52bbb
8674ccc
In Vista it now looks like this:
52bbb
8674ccc
123456aaa
The sort rules have changed in such a way that the same length numerical strings are all grouped together. This makes it tedious to search through a directory listing looking for a specific folder.
Has anyone found a way to change this behavior back to the old style? Thanks.
To take this question a bit further, does anyone know what the sort order rules are for Macs?
I occasionally encounter cross-platform issues when working with clients and suppliers who work on Macs, and it would be nice to know of potential sort order inconsistencies in advance. This seems a good place to ask.
I just noticed that the MS KB article suggests that XP and Vista should behave the same. The OP's question (and example) suggests that they don't.
The sort order that is used by Windows Vista, Windows XP, and Windows Server 2003 for files and folders whose names contain numerals differs from the sort order that is used by Windows 2000.......By default, the newer sort order considers strings in file and folder names as numeric content, not text. Numerals in folder and file names are sorted according to their numeric value.
By default, the newer sort order considers strings in file and folder names as numeric content, not text. Numerals in folder and file names are sorted according to their numeric value.
None of the examples quite covered all possibilities, including what happens in various apps, so I've run the following tests on XP, with some text .txt files. XP (which is to say, Windows Explorer) maintains the numerical values of numbers even when preceded by an alphabetical character). Some second party apps on XP change this order, treating numbers as alphabetical characers....
IN WINDOWS EXPLORER ON XP
85aa.txt
789aa.txt
12345aa.txt
abc.txt
cdf.txt
d85aa.txt
ghi.txt
x85aa.txt
x789aa.txt
x12345aa.txt
IN SECOND-PARTY FILE MANAGER (TOTAL COMMANDER) ON XP
12345aa.txt
789aa.txt
85aa.txt
abc.txt
cdf.txt
d85aa.txt
ghi.txt
x12345aa.txt
x789aa.txt
x85aa.txt
ALPHANUMERIC SORT IN TEXT EDITOR (NOTETAB PRO)
12345aa.txt
789aa.txt
85aa.txt
abc.txt
cdf.txt
d85aa.txt
ghi.txt
x12345aa.txt
x789aa.txt
x85aa.txt
Alphabetically:
a52bbb
a8674ccc
a123456aaa
b52bbb
b8674ccc
b123456aaa
and reversed:
b123456aaa
b8674ccc
b52bbb
a123456aaa
a8674ccc
a52bbb
Pretty interesting, I've never thought about this before...
It might be interesting to try using numerics with decimal points since no padding should be applied to the fractional part.
Kaled.