PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
bower-config
/
node_modules
/
mout
/
array
var sort = require('./sort'); var makeIterator = require('../function/makeIterator_'); /* * Sort array by the result of the callback */ function sortBy(arr, callback, context){ callback = makeIterator(callback, context); return sort(arr, function(a, b) { a = callback(a); b = callback(b); return (a < b) ? -1 : ((a > b) ? 1 : 0); }); } module.exports = sortBy;
[-] compact.js
[edit]
[-] find.js
[edit]
[-] equals.js
[edit]
[-] union.js
[edit]
[-] intersection.js
[edit]
[-] shuffle.js
[edit]
[-] reduce.js
[edit]
[-] max.js
[edit]
[+]
..
[-] collect.js
[edit]
[-] unique.js
[edit]
[-] combine.js
[edit]
[-] split.js
[edit]
[-] contains.js
[edit]
[-] forEach.js
[edit]
[-] some.js
[edit]
[-] pluck.js
[edit]
[-] insert.js
[edit]
[-] flatten.js
[edit]
[-] lastIndexOf.js
[edit]
[-] findLastIndex.js
[edit]
[-] take.js
[edit]
[-] append.js
[edit]
[-] removeAll.js
[edit]
[-] reduceRight.js
[edit]
[-] pick.js
[edit]
[-] min.js
[edit]
[-] groupBy.js
[edit]
[-] zip.js
[edit]
[-] toLookup.js
[edit]
[-] indexOf.js
[edit]
[-] findLast.js
[edit]
[-] slice.js
[edit]
[-] reject.js
[edit]
[-] range.js
[edit]
[-] remove.js
[edit]
[-] indicesOf.js
[edit]
[-] sortBy.js
[edit]
[-] last.js
[edit]
[-] sort.js
[edit]
[-] map.js
[edit]
[-] findIndex.js
[edit]
[-] reverse.js
[edit]
[-] join.js
[edit]
[-] filter.js
[edit]
[-] every.js
[edit]
[-] invoke.js
[edit]
[-] difference.js
[edit]
[-] xor.js
[edit]