sorted-set-by

functionsince v0.0-1211 clojure.core/sorted-set-byEdit
(sorted-set-by comparator & keys)

Details:

Returns a new sorted set with supplied keys, using the supplied comparator.


See Also:


Source docstring:
Returns a new sorted set with supplied keys, using the supplied comparator.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn sorted-set-by
  ([comparator & keys]
   (reduce -conj
           (PersistentTreeSet. nil (sorted-map-by comparator) 0)
           keys)))