Sort files in fileupload.