code: protected function getItemsFromFilter($filter, $config)
      {
          $sorting = $this->extractSorting($config);
  
          return $this->getMetaModel()->findByFilter(
              $filter,
              $sorting[0],
              $config->getStart(),
              $config->getAmount(),
              strtoupper($sorting[1]),
              $config->getFields() ?: array()
          );
      }
docs: Fetch the items via the given filter.
  
  @param IFilter         $filter The filter.
  
  @param ConfigInterface $config The configuration to be applied.
  
  @return IItems|IItem[] The collection of IItem instances that match the given filter.