sort Method
- Sort the array entries.
- Uses insertion sort -- fine for small arrays (less than 30), slow for larger arrays
sort(compareMethod: (a: any, b: any) => number = GrowableFloat64Array.compare): void
Parameter | Type | Description |
---|---|---|
compareMethod | (a: any, b: any) => number | comparison method |
Defined in
Last Updated: 08 January, 2020