Logo

Programming-Idioms

History of Idiom 100 > diff from v47 to v48

Edit summary for version 48 by escherize:
New Clojure implementation by user [escherize]

Version 47

2018-12-17, 18:04:18

Version 48

2019-09-26, 14:55:18

Idiom #100 Sort by a comparator

Sort elements of array-like collection items, using a comparator c.

Idiom #100 Sort by a comparator

Sort elements of array-like collection items, using a comparator c.

Extra Keywords
list
Extra Keywords
list
Code
(sort-by :age
  [{:name "A" :age 10}
   {:name "B" :age 30}])