Windows 7 file name sort order

Hello,

I need help...

I am having a problem with Windows 7 (x64) file alphabetization, they are organizing in a strange manner and i cant seem to find a solution anywhere. Let me attempt to describe it... I have three files say

Elmo
Elmo 1
Elmo 2

now instead of being in that order (which i believe to be the correct way the system should alphabetize) they appears as

Elmo 1
Elmo 2
Elmo

if i reverse the order of the files they appear as

Elmo

Elmo 2

Elmo 1


What is going on here and how do i fix this? I am including a screen shot to help explain better.

I created a post on the Neowin forums that include pictures. Located at http://www.neowin.net/forum/topic/975328-windows-7-file-alphabetization/

Any help would be greatly appreciated. And let me know if you have questions that can help with the solution
THANKS!!!!

Answer
Answer

Here is the way to set this. 

http://www.alliancegroup.co.uk/windows7-explorer-sort-order.htm

1) Type gpedit.msc in the Start menu’s search box and then press Enter.

2) Navigate to User Configuration>Administrative Templates>Windows Components, and then select Windows Explorer in the left column of the Group Policy editor.

3) Double-click Turn off numerical sorting in Windows Explorer in the Settings section of the Group Policy editor.
4) Select Enable and then click OK to save the changes.

51 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Answer
Answer
(which i believe to be the correct way the system should alphabetize)
The problem is that there is no universal standard for sorting, and what works well in one situation for some people might not for others. Another recent poster expected 'ASCII sort order' - fair enough for English language, but what about other languages? ASCII sorts upper case letters ahead of lower case ones, and has some symbols before numbers, some after, some between Z and a and some after z. Would that poster really expect file names containing symbols to be sorted like that? (999).txt, [001].txt, {555}.txt? Charlie.txt, able.txt, baker.txt? It's a perennial problem, even requiring MS to assign two different language codes to Castilian Spanish according to whether the alphabet uses the traditional sort order or the modern one.

Two of your examples include spaces. Where should these fit into the sort order? Should 'nothing' always sort before 'something' or  vice versa? If you replace the spaces in your examples with, for example, underscore characters, you will get a different result again.
 
MS Excel has, for good reasons, a well-defined sort order which anyone who uses that program will recognize. It's different from many others, and looks like this in English (the numbers are the ASCII code points):
 
39
'
45
-
32
 
33
!
34
"
35
#
36
$
37
%
38
&
40
(
41
)
42
*
44
,
46
.
47
/
58
:
59
;
63
?
64
@
91
[
92
\
93
]
94
^
95
_
43
+
60
<
61
=
62
>
48
0
49
1
50
2
51
3
52
4
53
5
54
6
55
7
56
8
57
9
65
A
66
B
67
C
68
D
69
E
70
F
71
G
72
H
73
I
74
J
75
K
76
L
77
M
78
N
79
O
80
P
81
Q
82
R
83
S
84
T
85
U
86
V
87
W
88
X
89
Y
90
Z

I guess that what I'm trying to say is you may have to adapt your filenames to suit the W7 sort order, rather than the other way round. I'm sure a lot of thought went into determining the order most likely to satisfy the majority of users (otherwise why would they have changed the system between Win2K and XP?). The main reason why I prefer the Win2K system is that it sorts hex numbers numerically; the XP system doesn't.
 
Apart from that, there are lots of situations where filenames including spaces are a nuisance, and sundry software will change those spaces to %20 or _ or something else.

Noel
Noel Burgess MVP (Ret'd)

21 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated November 9, 2023 Views 68,116 Applies to: