Fix issue with updating file sort orders