docs: public static int RankCompare(Solution solution1, Solution solution2)
     {
        int rank1 = solution1.getRank();
        int rank2 = solution2.getRank();
  
        if (rank1 < rank2)
        {
           return -1;
        }
        else if (rank1 > rank2)
        {
           return 1;
        }
        else
        {
           return 0;
        }
     }