Methods
Static
defaultCompare
- defaultCompare(x, y): number
Returns number
Static
depthSort
- depthSort(keys, comparerFn?): any[]
Parameters
- keys: any[]
Optional
comparerFn: ((a, b) => number)- (a, b): number
Returns number
Returns any[]
The same array.
Static
introSort
- introSort(keys, comparerFn?): any[]
Parameters
- keys: any[]
Optional
comparerFn: ((a, b) => number)- (a, b): number
Returns number
Returns any[]
The same array.
Static
toString
- toString(obj): string
Returns string
Sorts an array with mutation via depth limited quick sort algorithm.