protected function defaultSort()
    {
        return collect($this->defaultSort)->map(function ($param) {
            $desc = ($param[0] === '-');
            $field = ltrim($param, '-');

            return new SortParameter($field, !$desc);
        })->all();
    }