Better validation for ordering fields