call callback to resolve a tie between candidates

def resolve_election_tie(self, candidates):
        """
        call callback to resolve a tie between candidates
        """
        sorted_candidate_ids = list(sorted(candidates, key=self.candidate_order_fn))
        return sorted_candidate_ids[self.election_tie_cb(candidates)]