Policy

Turn off numerical sorting in File Explorer

This policy setting allows you to have file names sorted literally (as in Windows 2000 and earlier) rather than in numerical order. If you enable this policy setting, File Explorer will sort file names by each digit in a file name (for example, 111 < 22 < 3). If you disable or do not configure this policy setting, File Explorer will sort file names by increasing number value (for example, 3 < 22 < 111).

Policy
Pack Microsoft Windows
Category Windows Components / File Explorer
Policy ID 1c08d648fb31
Internal name NoStrCmpLogical

Registry

Copy registry mappings

HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStrCmpLogical (enabled) = 1
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStrCmpLogical (disabled) = 0
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStrCmpLogical (enabled) = 1
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStrCmpLogical (disabled) = 0

Policy notes

This policy setting allows you to have file names sorted literally (as in Windows 2000 and earlier) rather than in numerical order. If you enable this policy setting, File Explorer will sort file names by each digit in a file name (for example, 111 < 22 < 3). If you disable or do not configure this policy setting, File Explorer will sort file names by increasing number value (for example, 3 < 22 < 111).

Related policies