Say that I have an array of Tuples [(:c, 2), (:z, 2), (:w, 2)]
and I want to sort it such that I get [(:w, 2), (:z, 2), (:c, 2)]
, i.e. that the symbols are in the same order as in [:w, :z, :c]
Note that the original poster on Slack cannot see your response here on Discourse. Consider transcribing the appropriate answer back to Slack, or pinging the poster here on Discourse so they can follow this thread.
(Original message ) (More Info)