Sort image sequence file names.