In which case you end up with an even more ugly file name
Originally Posted by Kickaha
In the Finder, it intelligently identifies that File9.txt is 'less than' File100.txt, and sorts it appropriately.
Terminal doesn't. You get them all out of 'order', and you need to prepend zeroes to pad the space.