eZ\Publish\Core\FieldType\FieldType::getSortInfo PHP Method

getSortInfo() protected method

Return value is mixed. It should be something which is sensible for sorting. It is up to the persistence implementation to handle those values. Common string and integer values are safe. For the legacy storage it is up to the field converters to set this value in either sort_key_string or sort_key_int.
protected getSortInfo ( Value $value ) : mixed
$value Value
return mixed
    protected function getSortInfo(Value $value)
    {
        throw new \RuntimeException('Not implemented, yet.');
    }