I think you could reorder them with the rails console. I chose to enter the fields with their IDs because it’s more difficult to type a name without typos
ids_in_order = [3, 7, 8, 5, 1, 2]
ids_in_order.each_with_index do |id, index|
UserField.find(id).update!(position: index)
end