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 |