changed file sorting order to take advantage of numbering