Windows lists files in odd (non-alphabetic) order?

Soldato
Joined
15 Nov 2003
Posts
14,473
Location
Marlow
My mate pointed this out to me, and I couldn't believe it, so I tried it, and he's right.

He has some files which are numbered using HEX, and windows cannot show them in the right order:-

The following files are shown in the following (bonkers) order:-

000.txt
00A.txt
001.txt
01A.txt
002.txt
003.txt


These files should have course be in this order:-
000.txt
001.txt
002.txt
003.txt
00A.txt
01A.txt


There's no logic to it? Anyone know why it does this, or even better how to get Windows (XP in this case) to show files in the correct alphabetical order?
 
Last edited:
They are not numbered in Hex, just look like it. It is alphanumeric text. a comes before 1 etc.
 
They are not numbered in Hex, just look like it. It is alphanumeric text. a comes before 1 etc.

No, it's more bizarre than that! Simplifying it down, look at these:-

0.txt
1.txt
2.txt
3.txt
A.txt

or,

00.txt
0A.txt
01.txt
02.txt
03.txt

Why would the order change? And why would "0A" appear where it is there?

It's bonkers!
 
This will get annoying though..


Windows Vista, Windows XP, and Windows Server 2003
5.txt
11.txt
88.txt

Windows 2000
11.txt
5.txt
88.txt
 
Back
Top Bottom