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