docs: public List<RaftMemberContext> getActiveMemberStates(Comparator<RaftMemberContext> comparator) {
      List<RaftMemberContext> activeMembers = new ArrayList<>(getActiveMemberStates());
      activeMembers.sort(comparator);
      return activeMembers;
    }