Changes for clojure.core/sort-by

jafingerhut on Wed, 28 Mar 2012
user=> (sort-by count ["aaa" "bb" "c"])
("c" "bb" "aaa")

user=> (sort-by first [[1 2] [2 2] [2 3]])   
([1 2] [2 2] [2 3])

user=> (sort-by first > [[1 2] [2 2] [2 3]])   
([2 2] [2 3] [1 2])
zmila on Wed, 11 Aug 2010
user=> (sort-by count ["aaa" "bb" "c"])
("c" "bb" "aaa")


user=> (sort-by first [[1 2] [2 2] [2 3]])   
([1 2] [2 2] [2 3])


user=> (sort-by first > [[1 2] [2 2] [2 3]])   
([2 2] [2 3] [1 2])