The sort() method of {{jsxref("Array")}} instances sorts the elements of an array in place and returns the reference to the same array, now sorted. The default sort order is ascending, built upon ...
moonbit:sort x 31.17 ops/sec ±8.37% (58 runs sampled) javascript:sort x 32.83 ops/sec ±0.44% (57 runs sampled) Fastest is javascript:sort,moonbit:sort moonbit implementation is the same fast as ...