Speaking in Code

Thursday, October 07, 2010

Sort to the end of a file list

This isn't really code but it is something that many coders may want to do in filenames so...The need is to sort a named file to the bottom of the list. This may only work on windows file systems (i.e., not *nix or others)

I found this answer on Annoyances.org.

If using zz_filename isn't your cup of tea you can use one of the 5 or so greek letters that sort after the "Z" character.

special characters
numeric digits
ALT+1004 (infinity symbol)
alphabetic characters
ALT+1003
ALT+1006
ALT+1001
ALT+1000
ALT+1005
ALT+1002

That last one is the "Ω" - nice.