protected function getIdsFromFilter($filter, $config)
    {
        $sorting = $this->extractSorting($config);

        return $this->getMetaModel()->getIdsFromFilter(
            $filter,
            $sorting[0],
            $config->getStart(),
            $config->getAmount(),
            strtoupper($sorting[1])
        );
    }