Sorting files alphabetically or reversed