rtfeldman / seamless-immutable

Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects.
BSD 3-Clause "New" or "Revised" License
5.36k stars 194 forks source link

SortBy implementation. #271

Closed ivportilla closed 4 years ago

ivportilla commented 4 years ago

Based on the issue #182 i have added the function sortBy based on the Ramda and Lodash current behaviors. Feel free to give me feedback and i will be pending in order to fix what you think is needed.

Documentation and unit tests cover the case uses.

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.2%) to 96.345% when pulling 8c00b3aaa789ee524dad2614849f19769cbf2015 on Ivykp:feature/sort-by into 2d870b14a01e222493c686a7644181185f859558 on rtfeldman:master.