src/Node.php
protected function determineSortableKey($key)
    {
        // We need to allow source attributes here
        if (in_array($key, $this->sortableColumns) || $this->isTranslationAttribute($key))
        {
            return $key;
        }

        return $this->getDefaultSortableKey();
    }
protected function determineSortableKey($key)
    {
        // We need to allow source attributes here
        if (in_array($key, $this->sortableColumns) || $this->isTranslationAttribute($key))
        {
            return $key;
        }

        return $this->getDefaultSortableKey();
    }
protected function determineSortableKey ( $ key ) { // We need to allow source attributes here if ( in_array ( $ key , $ this -> sortableColumns ) || $ this -> isTranslationAttribute ( $ key ) ) { return $ key ; } return $ this -> getDefaultSortableKey ( ) ; }
Determines the sortable key from the map

@param string $key
@return string
Determines the sortable key from the map