Generalize validate_sort_fields.
Remove fields validation.
Add range validator.
Replace is_positive with validate_min.
Replace is_str_list with is_list.