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