InsertionSort with superpowers! 馃挭
$ yarn add @clarketm/superinsertionsort
$ npm install @clarketm/superinsertionsort --save
Name | Type | Attribute | Description |
---|---|---|---|
arr | Array | array to sort | |
comparator | * | nullable: undefined, optional: true, default: _defaultComparator |