Reorder a file list.