Disable Numerical Sorting in File Explorer in Windows 10

File Explorer is the default file management app which is bundled with Windows starting with Windows 95. Besides file management operations, Explorer.exe also implements the shell - the Desktop, taskbar, desktop icons and also the Start menu are parts of the Explorer app.

Advertisment

It is worth mentioning that in Windows 10, the Start menu is a special UWP app, which is integrated into the shell. Starting with Windows 8, File Explorer got the Ribbon user interface and the quick access toolbar.

In File Explorer, numerical sorting is enabled by default. This means that the file manager will sort files by increasing number value (for example, 3 < 222 < 1111). When this feature is disabled, File Explorer will sort file names by each digit in a file name, so the order will be as follows: 1111 < 222 < 3. Let's see how to change the sorting method in File Explorer in Windows 10. See the following screenshots:

Numerical sorting is enabled

Windows 10 Numerical Sorting Enabled

Numerical sorting is disabled

Windows 10 Numerical Sorting Disabled

You need to sign in as Administrator before proceeding. The change will be applied to all user accounts.

To disable Numerical Sorting in File Explorer in Windows 10, do the following.

  1. Open the Registry Editor app.
  2. Go to the following Registry key.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

    See how to go to a Registry key with one click.

  3. On the right, create a new 32-Bit DWORD value NoStrCmpLogical.
    Note: Even if you are running 64-bit Windows you must still create a 32-bit DWORD value.
    Set its value to 1 in decimal to disable Numerical sorting. Windows 10 Disable Numerical Sorting
  4. Restart Windows 10.

To re-enable the feature, delete the NoStrCmpLogical you have created or delete it.

To save your time, you can download the following ready-to-use Registry files

Download Registry Files

The undo tweak is included.

If your Windows 10 edition includes the Local Group Policy Editor app, you can use it instead of the Registry tweak.

Disable Numerical Sorting with Local Group Policy Editor

If you are running Windows 10 Pro, Enterprise, or Education edition, you can use the Local Group Policy Editor app to configure the options mentioned above with a GUI.

  1. Press Win + R keys together on your keyboard and type:
    gpedit.msc

    Press Enter.Windows 10 run gpedit

  2. Group Policy Editor will open. Go to Computer Configuration\Administrative Templates\Windows Components\File Explorer. Enable the policy option Turn off numerical sorting in File Explorer as shown below.Windows 10 Disable Numerical Sorting GP
  3. Restart Windows 10.

That's it.

Advertisment

2 thoughts on “Disable Numerical Sorting in File Explorer in Windows 10

  1. Kay

    @Sergey
    The ready made reg zip is the wrong item, it contains ‘Disable Updates over Metered Connection’

    Reply
    1. Sergey Tkachenko Post author

      Thanks, fixed

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *