private function applyConditionsWithOrder(QueryInterface $query) : QueryInterface
    {
        $table = $this->getConfig()->getTable();

        $aggregateField = $table->aliasField($this->getConfig()->getField());

        $query->select($this->getConfig()->getDisplayField())
            ->order([$aggregateField => 'ASC']);

        return $query;
    }