Sort files from ilstFilesInDir so the order is deterministic