Mobirise Site Generator

Microsoft Windows 7 Explorer Numerical Sort Order

In Windows 7 and Windows Server 2008 R2 Windows Explorer and in Windows 10 and Windows Server 2016 File Explorer sort filenames into a different alphabetical sort order than earlier versions of Windows.

Earlier versions of Windows sorted filenames with numbers in them literally (that is alpha-numerically), Windows 7 and later by default sort them numerically. Fortunately you can change this.

With the default (or disabled) setting, Windows Explorer or File Explorer will sort file names numerically by increasing number value
for example:
3.txt
22.doc
111.tif

If you enable the "Turn off numerical sorting in Windows Explorer" policy setting, Windows Explorer or File Explorer will sort file names literally by each digit in a file name (as in previous versions of Windows)
for example:
111.tif
22.doc
3.txt


To Turn off numerical sorting in Windows Explorer:
If you don't have the Group Policy Editor (for example if you are using a home edition of Windows), see the alternative method at the foot of this page.
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 (for Windows 7) 
or select File Explorer (for Windows 10).

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.


Alternatively you can change the setting in the Registry database:


To turn off numerical sorting:

In [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Set NoStrCmpLogical to 1 - that is:  "NoStrCmpLogical"=dword:00000001 


If you haven't got the Dword " NoStrCmpLogical" you can create it and set it to 1