code: @Private static String[] sort(String... names) {
      //short name first, unless it is fully contained in a longer name
      String[] copy = names.clone();
      Arrays.sort(copy, LONGER_STRING_FIRST);
      Suites suites = new Suites();
      for (String name : copy) {
        suites.add(name);
      }
      return suites.toArray();
    }
docs: Sorts {@code names} into a new array by putting short string first, unless a shorter string is
  a prefix of a longer string, in which case, the longer string is before the prefix string.