Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Windows 7 / Windows Server 2008, if files have only number in filename, Explorer sorts them by the number.

enter image description here

How can I change this sort to trully alphabetic, ie.:



share|improve this question
up vote 2 down vote accepted

@Dave: I don't recommend telling people to edit the Registry unless as a last resort when there's no easier/better way.

@Tschareck: Here's what you can do:

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

  2. Navigate to User Configuration / Administrative Templates / Windows Components, then select Windows Explorer in the left pane 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.

share|improve this answer
Did you give Dave the -1 vote for using the registry? If so, that's a shame. – palswim Aug 13 '13 at 21:31

To change this behavior open your registry and find the key below.

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Value Name: NoStrCmpLogical
Data Type: REG_DWORD (DWORD Value)
Value Data: (1 = Windows 2000 method)

Create a new DWORD value named "NoStrCmpLogical" and set it to "1" to use the Windows 2000 sorting method.

share|improve this answer
I prefer the registry method. Unfortunately, Windows still sorts in its "special" way when using "Sort by Type". Also, on my machine at least, I can't modify my HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer key. – palswim Aug 13 '13 at 21:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.