public function orderByScoreDesc(): self
    {
        return $this->sortByDesc(function (Result $result) {
            return $result->getScore($this->maxCommits(), $this->maxComplexity());
        });
    }
public function orderByScoreDesc(): self
    {
        return $this->sortByDesc(function (Result $result) {
            return $result->getScore($this->maxCommits(), $this->maxComplexity());
        });
    }
public function orderByScoreDesc ( ) : self { return $ this -> sortByDesc ( function ( Result $ result ) { return $ result -> getScore ( $ this -> maxCommits ( ) , $ this -> maxComplexity ( ) ) ; } ) ; }
Order results by their score in descending order.
@return self
Order results by their score in descending order .