windowsalgorithmprogramming-languagescharspecial-characters

What is the first character in the sort order used by Windows Explorer?


For example, in a Windows folder, if we create some files and name them 1.html, 2.txt, 3.txt, photo.jpg, zen.png the order will be as is. But if we create another file with the name _file.doc it will be placed at the top. (considering we sort by name in descending order)

likewise, what would be the character that would be considered as the first, such that if i use that character, it would place the file on top of the hierarchy?


Solution

  • The first visible character is '!' according to ASCII table.And the last one is '~' So "!file.doc" or "~file.doc' will be the top one depending your ranking order. You can check the ascii table here: http://www.asciitable.com/