docs: public static <INPUT extends Comparable<INPUT>> List<INPUT> toUniqueAndSortedList(Iterable<INPUT> inputs) {
      if (inputs instanceof Set) {
        // inputs are unique but order is not enforced
        return Ordering.natural().immutableSortedCopy(inputs);
      }
      // inputs are not unique and order is not guaranteed
      return Ordering.natural().immutableSortedCopy(Sets.newHashSet(inputs));
    }