def process(self, candidates):
        """
        :arg list candidates: list of Candidates
        :returns: score-sorted list of Candidates
        """
        return sorted(candidates, key=attrgetter('score'), reverse=self.reverse)
def process ( self , candidates ) : return sorted ( candidates , key = attrgetter ( 'score' ) , reverse = self . reverse )
:arg list candidates: list of Candidates
        :returns: score-sorted list of Candidates