public function isSorted()
    {
        if (Request::input(config('gbrock-tables.key_field')) == $this->getField()) {
            return true;
        }

        if (!Request::input(config('gbrock-tables.key_field')) && $this->model && $this->model->getSortingField() == $this->getField()) {
            // No sorting was requested, but this is the default field.
            return true;
        }

        return false;
    }