addyosmani / selectionsort

Selection sort with O(n^2) time complexity
56 stars 5 forks source link

add example of usage with a comparator #6

Closed stoeffel closed 9 years ago

stoeffel commented 9 years ago

I first thought that selectionsort is missing a possibility to use your own comparator, because it wasn't described in the readme.

addyosmani commented 9 years ago

Thanks for adding this in. It's been on my todo list, but I hadn't had a chance to get it added. LGTM.