From d959c019f8a8dcfb7ed68a4fd6dfc43bda516931 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 23 Jan 2012 16:10:49 -0500 Subject: [PATCH] clarify that sortBy is ascending. --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index afef3e5ac..3c0ce397f 100644 --- a/index.html +++ b/index.html @@ -521,8 +521,8 @@ _.min(numbers);

sortBy_.sortBy(list, iterator, [context])
- Returns a sorted copy of list, ranked by the results of running - each value through iterator. + Returns a sorted copy of list, ranked in ascending order by the + results of running each value through iterator.

 _.sortBy([1, 2, 3, 4, 5, 6], function(num){ return Math.sin(num); });