library/Rediska/Key/SortedSet.php
public function getByRank($withScores = false, $start = 0, $end = -1, $revert = false, $responseIterator = false)
    {
        return $this->_getRediskaOn()->getSortedSet($this->getName(), $withScores, $start, $end, $revert, $responseIterator);
    }
public function getByRank($withScores = false, $start = 0, $end = -1, $revert = false, $responseIterator = false)
    {
        return $this->_getRediskaOn()->getSortedSet($this->getName(), $withScores, $start, $end, $revert, $responseIterator);
    }
Get Sorted set by Rank

@param boolean $withScores Get with scores
@param integer $start      Start index
@param integer $end        End index
@param boolean $revert     Revert elements (not used in sorting)
@param boolean $responseIterator[optional]  If true - command return iterator which read from socket buffer.
Important: new connection will be created

@return array