Sorting files in UploadWidget