Home
Windows Registry Tweaks
Index Page
Hardware
Disk Drives
Mice and Keyboards
Modems and Communications
Printers and Plotters
Processor and Motherboard
Video and Graphics
Network
Clients
Internet and Remote Access
Protocols
TCP/IP
WINS
Servers
Security
Active Desktop
Control Panel
Display
Network
Passwords
Printers
System
Desktop and Explorer
Login and Authentication
Network
Privacy
Remote Access
Start Menu and Taskbar
Documents and Folders
System
Software
Internet Explorer
Appearance
Network and Connections
Search Features
Security
Media Player
Microsoft Office
Outlook
Netmeeting
Outlook Express
pcAnywhere
Windows CE
Windows Messenger
Tips and Tricks
Configuration Files
AUTOEXEC.BAT
BOOT.INI
CONFIG.SYS
MSDOS.SYS
SYSTEM.INI
Customization
Keyboard Shortcuts
Windows
Accessories
Command Processor
Dr Watson
Registry Editor
Task Scheduler
Windows Installer
Appearance and Display
Icons and Fonts
Menus And Windows
Desktop
Explorer
File System
Caching and Memory
Files and Shortcuts
Maintenance
Login and Authentication
Start Menu and Taskbar
Documents and Folders
Taskbar
Startup and Shutdown
System
Scripts
Services
Windows File Checker
Troubleshooting
Crash Control
Logging
Repair
Registry FAQ
Dreamage
Book List
Downloads
Support Forums
Newsletter
Download Updates
Subscribe
Registry Guide for Windows Registry Guide for Windows
Part of the Dreamage Network
Dreamage Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Change Sort Order in Windows Explorer (All Windows)
Category: Home > Windows > Windows Explorer

Download this tweak with Tweak Manager!This tweak can be easily applied using Dreamage Tweak Manager.
Download a free trial now!

Windows XP introduced a different ordering method when sorting numeric file listings in Windows Explorer. Instead of sorting character-by-character in the file name, any numeric string is now handled as a number.

If you have folders whose name contains digits, the sort order is different in Microsoft Windows 2000 and Windows XP. In Windows 2000, the following file and folder names are sorted as shown:

Ie4_01
Ie4_128
Ie401sp2
Ie5
Ie501sp2
Ie6


In Windows XP, the same files and folders are sorted as:

Ie4_01
Ie4_128
Ie5
Ie6
Ie401sp2
Ie501sp2


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

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

Restart Explorer for the changes to take effect.

Note: This tweak is available only with Windows XP Service Pack 1 or greater installed on the system.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|NoStrCmpLogicalREG_DWORD0x00000001 (1)|
-
|HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Exp...|
-

Settings:
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]

System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]

Name: NoStrCmpLogical
Type: REG_DWORD (DWORD Value)
Value: (1 = Windows 2000 method)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: June 26, 2003

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License