Skip to content

Latest commit

History

History

MergeSort

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

NPM release

MergeSort with superpowers! 馃挭

Individual Module Installation

Yarn

$ yarn add @clarketm/supermergesort

Npm

$ npm install @clarketm/supermergesort --save

API

mergeSort(arr: Array<Item>, comparator: Comparator): Array<Item>

Name Type Attribute Description
arr Array array to sort
comparator * nullable: undefined, optional: true, default: _defaultComparator