Classes/Eel/ElasticSearchQueryResult.php
public function getSortValuesForNode(NodeInterface $node): array
    {
        $hit = $this->searchHitForNode($node);
        if (is_array($hit) && array_key_exists('sort', $hit)) {
            return $hit['sort'];
        }

        return [];
    }
public function getSortValuesForNode(NodeInterface $node): array
    {
        $hit = $this->searchHitForNode($node);
        if (is_array($hit) && array_key_exists('sort', $hit)) {
            return $hit['sort'];
        }

        return [];
    }
public function getSortValuesForNode ( NodeInterface $ node ) : array { $ hit = $ this -> searchHitForNode ( $ node ) ; if ( is_array ( $ hit ) && array_key_exists ( 'sort' , $ hit ) ) { return $ hit [ 'sort' ] ; } return [ ] ; }
Returns the array with all sort values for a given node. The values are fetched from the raw content
Elasticsearch returns within the hit data

@param NodeInterface $node
@return array
Returns the array with all sort values for a given node . The values are fetched from the raw content Elasticsearch returns within the hit data