Try to fix the sorting order and save it