Fast JavaScript array sorting by implementing Python's Timsort algorithm
A fast, small (~0.5 KB gzipped) and dependency-free JavaScript library to sort arrays. It uses quick sort internally to sort arrays in place, without recursion. Simply replace JavaScript's built-in Array.prototype.sort
with f-sort's sort
to see ~2x