Changed directory sorting for ls.