class SortFieldConfig implements Config {

    public static boolean isValidType(String type) {
        return (FieldType.NUMBER.toString().equalsIgnoreCase(type)
                || FieldType.DATE.toString().equalsIgnoreCase(type)
                || FieldType.STRING.toString().equalsIgnoreCase(type));
    }

    public  SortFieldConfig(@NonNull FieldType fieldType, @NonNull String dataField);
    public  SortFieldConfig(@NonNull String type, @NonNull String dataField);
    public  SortFieldConfig(@NonNull JSONObject jsonObject);
    public  SortFieldConfig();

}