private function queryAddSortByParameter(array $value): string
    {
        if (!\in_array($value[0], $this->fieldsSortable, true)) {
            throw new \InvalidArgumentException(\sprintf(
                'Parameter %s is not available for sorting in repository %s',
                $value[0],
                $this->name
            ));
        }

        return $value[0].':'.$value[1];
    }