Show navigation Array.prototype.sort was among the last builtins implemented in self-hosted JavaScript in V8. Porting it offered us the opportunity to experiment with different algorithms and implementation strategies and finally make it stable in V8 v7.0 / Chrome 70. Background #Sorting in JavaScript is hard. This blog post looks at some of the quirks in the interaction between a sorting algorith