Neos\Neos\Eel\FlowQueryOperations\SortOperation::canEvaluate PHP Method

canEvaluate() public method

We can only handle ContentRepository Nodes.
public canEvaluate ( mixed $context ) : boolean
$context mixed
return boolean
    public function canEvaluate($context)
    {
        return count($context) === 0 || isset($context[0]) && $context[0] instanceof NodeInterface;
    }