docs: @Override
    public int compare(S solution1, S solution2) {
      int result = rankComparator.compare(solution1, solution2) ;
      if (result == 0) {
        result = NewcrowdingDistanceComparator.compare(solution1, solution2);
      }
  
      return result;
    }