Sorting and mapping results in :result-transform

Looks like a wrong syntax (although I’m not familiar with ->>).
UPDATE: ->> is Clojure’s thread-last macro
Should nest map inside sort-by, as if it was its result input (otherwise sort-by has no effect). Here is a recent question with a similar structure: Unite different :result-transform’s