@clarketm/superquicksort
v1.2.32
Published
QuickSort with superpowers! 💪
Downloads
22
Maintainers
Readme
QuickSort
QuickSort with superpowers! 💪
Individual Module Installation
Yarn
$ yarn add @clarketm/superquicksort
Npm
$ npm install @clarketm/superquicksort --save
API
quickSort(arr: Array<Item>, comparator: Comparator): Array<Item>
| Name | Type | Attribute | Description | | ---------- | ----------- | ----------------------------------------------------------------- | ------------- | | arr | Array | | array to sort | | comparator | * | nullable: undefined, optional: true, default: _defaultComparator |