Disable new file sorting algorithm (For all users)
This setting lets you disable the new system for file sorting algorithm.
Level: Recommended For Experts Only
Description:
Sorting algorithm is an algorithm that puts elements of a list in a certain order the mostly used order is numerically increasing order. The output must be easy to understand and readable. All versions of windows before windows xp used a binary sorting algorithm for sorting files. It gave the result like this: file 1.doc, file 10.doc and file 2.doc. It is clear that the decimal part was not taken into account. Starting from windows xp, windows uses a new character-based sorting algorithm that takes the logical order into account. So, the result came fine with file 1.doc, file 2.doc and file 10.doc. Numerals in strings, which are contained in files and folders, are taken as numeric content in windows xp as well as windows 2003. They are sorted according to their numeric value. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. If the subkey \currentversion\policies\explorer is not present, create it as explained below. Then, create a dword value name nostrcmplogical, if this value does not exist. Now, right-click and modify the value data box with 1 to disable the new sorting algorithm and enable the windows 2000 sorting algorithm. Delete this entry from your registry for new sorting algorithm. Restart your system. Note: this tweak works for windows xp service pack 1 or greater installed on the system. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.
Sorting algorithm is an algorithm that puts elements of a list in a certain order the mostly used order is numerically increasing order. The output must be easy to understand and readable. All versions of windows before windows xp used a binary sorting algorithm for sorting files. It gave the result like this: file 1.doc, file 10.doc and file 2.doc. It is clear that the decimal part was not taken into account. Starting from windows xp, windows uses a new character-based sorting algorithm that takes the logical order into account. So, the result came fine with file 1.doc, file 2.doc and file 10.doc. Numerals in strings, which are contained in files and folders, are taken as numeric content in windows xp as well as windows 2003. They are sorted according to their numeric value. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. If the subkey \currentversion\policies\explorer is not present, create it as explained below. Then, create a dword value name nostrcmplogical, if this value does not exist. Now, right-click and modify the value data box with 1 to disable the new sorting algorithm and enable the windows 2000 sorting algorithm. Delete this entry from your registry for new sorting algorithm. Restart your system. Note: this tweak works for windows xp service pack 1 or greater installed on the system. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.
Screenshots

First, click the 'Start' button, and select 'Run'. In the resulting dialog box, type "regedit".

Second, go to the <b>[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\]</b> key, right-click and click on the "New > Key" to create a new key with the name "Explorer".

Third, right-click on the blank area in the right pane and click on "New > DWORD Value" to create a new DWORD value with the name "NoStrCmpLogical".

Fourth, right-click on the 'NoStrCmpLogical' DWORD value and click on "Modify".

Finally, enter the value "1" in the text box and click on 'OK'.
Registry Entries
- back to top- Path: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\]
- Location: Local Machine
- Value Name: Explorer
- Data Type: Key
- Action Type: Add an Entry
- Path: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\]
- Location: Local Machine
- Value Name: NoStrCmpLogical
- Data Type: DWORD (DWORD Value)
- Enabled Value: 1
- Action Type: Add an Entry
Tweak Library Terms
- back to top- Application Paths
- Authentication
- Auto Play
- Browser
- Console
- Control Panel
- CPU
- Desktop
- Display
- Error Reporting
- Explorer
- File System
- Files and Folders
- Firewall
- Fonts and Icons
- General Info
- Group Policies
- Hardware
- Input/Output Devices
- Installations
- Internet Explorer
- Memory Settings
- Messenger
- Microsoft Office
- Networks Cards
- Network Internet Connections
- Other Programs
- Outlook and Outlook Express
- Performance Settings
- Product Updates
- Scheduler
- Search
- Security
- Services
- Sound and Video Controllers
- Start Menu
- Startup and Shutdown
- Storage Devices
- System
- System Restore
- System Settings
- Taskbar
- User Interface
- Windows Applications
- Windows Firewall
- Windows Media Player
- Winzip
