text: export default (state, action) => {
    const sortFieldsWithoutPassedField = state.sortFields.filter(sf =>
      sf.field !== action.field
    )
    if (!action.direction) {
      // remove field
      return sortFieldsWithoutPassedField
    }
    return [
      {
        field: action.field,
        direction: action.direction,
      },
      ...sortFieldsWithoutPassedField,
    ]
  }
  