I have a folder structure in which the folder names start with numbers. After a while, some folders (or, rather, the info they contain) become "archived", and I don't want them to visually clutter the space of the parent folder.
My solution so far is to rename the folders (as non-intrusively as possible) so that the "archived" folders go to the end of the list. I decided to go with adding a tilde character (~
) to the beginning of the folder names, expecting to see ~
-prefixed folders below the number-prefixed ones when sorting by name in ascending order.
But, instead of something like
parent folder:
123
456
789
~012
I see this:
parent folder:
~012
123
456
789
That's surprising, considering that NTFS uses Unicode for its file name characters, and tilde's Unicode value is higher than of the [0-9]
characters, which should put it after in the lexicographic order.
What's the reason of the behavior I'm observing and how to I make ~
-prefixed folders be sorted after the number-prefixed ones?
Edit: To display the folder contents, I mostly use FAR Manager. But so far its sorting by name looks the same as in Windows Explorer. So a solution that works for Windows Explorer would also work for FAR Manager.