1.0.2 • Published 7 years ago
funny-sort v1.0.2
sort
Simple modules for functional programming, done for fun.
Usage
import sort from 'funny-sort'
const comparator = (a, b) => a - b
sort(comparator, [3, 2, 1]) // [1, 2, 3]
License
The MIT License (MIT). Copyright (c) 2016 Luís Rodrigues.