Upload files in filename order as workaround for gallery sorting bug