src/Utility/Sort/IdentificationSort.php
protected function sortByRank(Identification $a, Identification $b)
    {
        if ($a->getRank() == $b->getRank()) {
            return 0;
        }
        
        return $a->getRank() > $b->getRank() ? $this->returnTrue : $this->returnFalse;
    }
protected function sortByRank(Identification $a, Identification $b)
    {
        if ($a->getRank() == $b->getRank()) {
            return 0;
        }
        
        return $a->getRank() > $b->getRank() ? $this->returnTrue : $this->returnFalse;
    }
protected function sortByRank ( Identification $ a , Identification $ b ) { if ( $ a -> getRank ( ) == $ b -> getRank ( ) ) { return 0 ; } return $ a -> getRank ( ) > $ b -> getRank ( ) ? $ this -> returnTrue : $ this -> returnFalse ; }
Sort the identifications by rank using the sort order provided

@param Identification $a
@param Identification $b
@return int
Sort the identifications by rank using the sort order provided