a js toolkit, contains common algorithms and data structures, also include TS version
This is the package for searching and sorting in array.
sorting networks for up to 64 inputs. the fastest way to sort small lists.
**ALGOLIBA** is a simple and efficient JavaScript library for working with arrays. It provides an easy-to-use object `algo` that includes several helpful methods for array manipulation and mathematical operations.
本插件用于给数组排序,使用的是快速排序算法,默认是从小到大排序,如果要从大到小排序则需要传入第二个参数为false,下面是使用例子: