4 ms·but Array.prototype.sort is consistently fasterby gigatexal 9y agobut Array.prototype.sort is consistently faster