Changes the order of filenames