private function getOrderField(): int
    {
        $result = (int)array_search($this->searchData['sort_by_field'], $this->getDisplayColumns());

        if ($this->batch && !$this->getGroupByField()) {
            $result += 1;
        }

        return $result;
    }