How Does Windows Sort Alphabetically?


  1. Posts : 54
    Windows 10
       #1

    How Does Windows Sort Alphabetically?


    So there are lots of unicode characters that Windows will allow you to use in your file and folder names. However, how does Windows determine how they're sorted? Take the following example of a huge number of folders named with different characters:
    How Does Windows Sort Alphabetically?-order-files-name.png

    How exactly is Windows deciding how to sort these? It seems arbitrary to me. Can anybody tell me exactly what Windows is doing here?
      My Computer


  2. Posts : 17,831
    Windows 10
       #2

    Maybe it follows a Unicode character structure of some sort......, or not.

    How Does Windows Sort Alphabetically?-001389.png
      My Computer


  3. Posts : 4,224
    Windows 10
       #3

    It must sort them by unicode character code values. Find a numerically sorted list at Wikipedia, among other place (including Unicode.org).
    HTH,
    --Ed--
      My Computers


  4. Posts : 17,831
    Windows 10
       #4

    JohnTravolski said:
    So there are lots of unicode characters that Windows will allow you to use in your file and folder names. However, how does Windows determine how they're sorted? Take the following example of a huge number of folders named with different characters:


    How exactly is Windows deciding how to sort these? It seems arbitrary to me. Can anybody tell me exactly what Windows is doing here?
    So......,


    you got it all memorized as to what's in all those folders!?!?!?

    JohnTravolski said:
    ...Windows will allow you to use in your file and folder names.
    Works awesome for creating your own Start hierarchy!

    How Does Windows Sort Alphabetically?-001390.png
      My Computer


  5. Posts : 1,249
    Windows 10 Pro
       #5

    Sorting with Unicode is complicated.

    Each Unicode character has been assigned a specific character value that is universal with all locales. Sorting generally follows the character value but that isn't always the case. Each locale has it's own rules regarding character order that may differ from the numeric value. Fortunately application developers don't normally have to deal with this as there are system functions that take care of the messy details.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 09:25.
Find Us




Windows 10 Forums