src/Samurai/Component/DataStore/Redis.php
public function getSortedRankAsc($key, $member)
    {
        $score = $this->getScore($key, $member);
        if ($score === false || $score === null) return null;

        return $this->driver->zCount($key, '-inf', -- $score);
    }
public function getSortedRankAsc($key, $member)
    {
        $score = $this->getScore($key, $member);
        if ($score === false || $score === null) return null;

        return $this->driver->zCount($key, '-inf', -- $score);
    }
public function getSortedRankAsc ( $ key , $ member ) { $ score = $ this -> getScore ( $ key , $ member ) ; if ( $ score === false || $ score === null ) return null ; return $ this -> driver -> zCount ( $ key , '-inf' , -- $ score ) ; }
get sorted set rank by asc

@param  string $key
@param  string $member
@return int|null
get sorted set rank by asc