private static int compareCaseInsensitively(String s1, String s2) {
      int result = s1.compareToIgnoreCase(s2);
      return result != 0 ? result : s1.compareTo(s2);
    }
private static int compareCaseInsensitively(String s1, String s2)