Make sure the validation order of struct fields is correct