In this example, 401 is a numerically higher value than 6. Therefore, the Ie401sp2 folder is listed after the Ie6 folder when you sort the folders by name in ascending order. In the following example, note how the following files, whose names contain numerals, are sorted.
To configure a policy setting to modify sort order in Windows Vista, Windows XP, or Windows Server 2003Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
You can configure a policy setting to use either the newer sort order or the sort order that is used in Windows 2000. The policy setting is stored in the following registry entries:
- Click Start, click Run, type regedit, and then click OK.
- Use one of the following methods, as appropriate for your situation:
- To configure the policy for all users of the computer, locate and then click the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Currentversion\Policies\Explorer
- To configure the policy for the current user, locate and then click the following registry key:HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Currentversion\Policies\Explorer
- To configure the policy for all users of the computer, locate and then click the following registry key:
- On the Edit menu, point to New, and then click DWORD Value
- Type NoStrCmpLogical, and then press ENTER.
- On the Edit menu, click Modify.
- To set the sort order that you want to use for files and folders whose names contain numerals, use one of the following methods, as appropriate for your situation:
- To configure Windows XP or Windows Server 2003 to use the method that Windows 2000 uses for sorting files and folders, in the Value data box, type 1, and the click OK.
- To configure the default Windows XP or Windows Server 2003 method for sorting files and folders, in the Value data box, type 0, and then click OK.
Note When the NoStrCmpLogical value does not exist or when it is set to 0 (zero), the default Windows XP sort order is used.
- Exit Registry Editor, and then restart the computer.