We have sort-by in clojure to sort values against a vector or map.
sort-by
For example, if I have a vector that I want to sort against:
(def ^:const s