sort the dir