Windows 11 File Explorer has wrong sorting order

dbdq 11 Reputation points
2022-12-05T22:42:54.037+00:00

267388-image.png

Have you already found the wrong order in the above image?
00d - 1a2 - 009 - 212
Note that it's already sorted by Name in Ascending order as can be seen clearly. I already refreshed to ensure it's sorted.
For clarity, there is no "O" character in the file name, hence round chars are all number 0s.

It seems clear that it is a bug. Could you fix it ASAP?
Sorting is a computer science 101. Actually, not even that level.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,570 questions
{count} votes

8 answers

Sort by: Most helpful
  1. Rodney Korn 5 Reputation points Microsoft Employee
    2023-03-16T16:17:17.4466667+00:00
    1 person found this answer helpful.
    0 comments No comments

  2. Limitless Technology 44,711 Reputation points
    2022-12-07T11:40:58.82+00:00

    Hello there,

    Is the sorting worng only with this specific file formats or for all formats?

    I tried creating some sample files and the sorting seems to be working fine for me. Make sure you have installed all the updates and try to create some sample plane names and test how it works. Also try restarting the indexing service and see if that helps.

    Open task manager , Navigate to the Details tab and locate SearchUI.exe in the Name column.
    Right-click on the SearchUI.exe process and select End task.

    The below thread discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue.
    https://answers.microsoft.com/en-us/windows/forum/all/indexing-broken-in-windows-11-painfully-slow-at/6ab8417e-d014-4596-85c1-fbfd9b61035c

    ------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

  3. dbdq 11 Reputation points
    2022-12-07T19:53:36.4+00:00

    Hello,

    It seems to happen with any kind of format. For example, I just created the following 4 empty text files: 009.txt, 00d.txt, 1a2.txt, 212.txt.

    After refresing the folder, it is still ordered as:
    00d.txt
    1a2.txt
    009. txt
    212. txt
    It's same even if I restart the explorer.

    I don't see why it should be related to search indexing as it has nothing to do with the indexing and but is the problem of File Explorer.
    When you create the above 4 empty text files, how are they sorted on your machine?

    I expect them to be sorted as:
    009. txt, 00d.txt, 1a2.txt, 212.txt
    which is the same output when I apply sorted() in Python, for example.

    FYI, I've updated to the latest version and it shows as:
    Edition: Windows 11 Education
    Version: 22H2
    OS build: 22621.819
    Experience: Windows Feature Experience Pack 1000.22636.1000.0


  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  5. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.