summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/boot.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot.clj b/src/boot.clj
index e3d42473..8b9cc4de 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -1279,7 +1279,7 @@ not-every? (comp not every?))
supplied, uses compare. comparator must
implement java.util.Comparator."
([keyfn coll]
- (sort-by compare coll))
+ (sort-by keyfn compare coll))
([keyfn #^java.util.Comparator comp coll]
(sort (fn [x y] (. comp (compare (keyfn x) (keyfn y)))) coll)))