Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Wow, that really really sucks.
Maybe try dashes between numbers? I don't think sign will work.
Dates seem to work:
2021-05-28
I use dates all the time. Usually start with letters though.
File_2021-05-28.txt for example. -
They have clippy tied up in some cellar in the desert, the file names get sent to him through a tube and he decides
-
iiii90854y@Demolishun dates are lexicographical in nature, so no specific processing is needed to sort them using basic string sorting
-
I'm all windows and .net and c#.
BUT WHAT THE ACTUAL FUCK.
Did you try "new" explorer serarch ? It's useless ! You need some pretty good APM and mouse clicking skills just to open containing folder. -
C0D4669444ySort 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 "." 😆 -
korrat6064yAFAIK, when using dots with numerical sorting, windows will sort each component indiviually. So 2.2 = 2.02. Not that it makes any sense.
-
korrat6064y@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
-
Is there a space before the dash ?
" -10" ?
Just trying to make sense of this this bs
Related Rants
how does windows explorer sort by names
question
sort
explorer
windows