use a custom comparator in `TreeSet` example