File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 2986
2986
(defn sort
2987
2987
" Returns a sorted sequence of the items in coll. If no comparator is
2988
2988
supplied, uses compare. comparator must implement
2989
- java.util.Comparator. If coll is a Java array, it will be modified.
2990
- To avoid this, sort a copy of the array."
2989
+ java.util.Comparator. Guaranteed to be stable: equal elements will
2990
+ not be reordered. If coll is a Java array, it will be modified. To
2991
+ avoid this, sort a copy of the array."
2991
2992
{:added " 1.0"
2992
2993
:static true }
2993
2994
([coll]
3003
3004
" Returns a sorted sequence of the items in coll, where the sort
3004
3005
order is determined by comparing (keyfn item). If no comparator is
3005
3006
supplied, uses compare. comparator must implement
3006
- java.util.Comparator. If coll is a Java array, it will be modified.
3007
- To avoid this, sort a copy of the array."
3007
+ java.util.Comparator. Guaranteed to be stable: equal elements will
3008
+ not be reordered. If coll is a Java array, it will be modified. To
3009
+ avoid this, sort a copy of the array."
3008
3010
{:added " 1.0"
3009
3011
:static true }
3010
3012
([keyfn coll]
You can’t perform that action at this time.
0 commit comments