API Reference > geometry-core > ArraysAndInterfaces > GrowableFloat64Array > sort 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 Returns - void Defined in core/geometry/src/geometry3d/GrowableFloat64Array.ts Line 208 Last Updated: 13 June, 2024