how does windows explorer sort by names

  • 0
    Wow, that really really sucks.

    Maybe try dashes between numbers? I don't think sign will work.

    Dates seem to work:


    I use dates all the time. Usually start with letters though.

    File_2021-05-28.txt for example.
  • 1
    It's probably parsing the first image as dates or something
  • 8
    They have clippy tied up in some cellar in the desert, the file names get sent to him through a tube and he decides
  • 0
    @Demolishun dates are lexicographical in nature, so no specific processing is needed to sort them using basic string sorting
  • 1
    I'm all windows and .net and c#.


    Did you try "new" explorer serarch ? It's useless ! You need some pretty good APM and mouse clicking skills just to open containing folder.
  • 0
    Seems like its sorting the abs values with . as a separator between values.
  • 2
    Sort by name will sort file names by each digit in the name, which gives you what you currently see.

    You can control this in a group policy with Windows Pro

    Computer Configuration
    \Administrative Templates
    \Windows Components
    \File Explorer

    Turn off numerical sorting.

    But even then, decimals are still sorted like shit.

    Don't use "." ­čść
  • 1
    Never by name.
    sort on created at.

    That is all.
  • 0
    Windows name sorting is officially cursed, that's it.
  • 1
    AFAIK, when using dots with numerical sorting, windows will sort each component indiviually. So 2.2 = 2.02. Not that it makes any sense.
  • 1
    @korrat it makes sense for dates
  • 0
    @iiii only if you write the date as Y.M.D, which I haven't encountered yet. And even then, ISO is almost the same length, its standardized and sorts nicely in a purely lexicographic sort too
  • 0
    @korrat it also can be M.Y or D.M
  • 0
    Is there a space before the dash ?
    " -10" ?

    Just trying to make sense of this this bs
  • 0
  • 1
    windows is noob shit everybody knows it
Add Comment