class SortFieldConfig implements Config {

    @Override
    public JSONObject toJsonObject() throws JSONException {
        JSONObject object = new JSONObject();
        object.put(KEY_TYPE, type.toString().toLowerCase());
        object.put(KEY_DATA_FIELD, dataField);
        return object;
    }

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

}