The algorithms behind the Sort function in JavaScript

1 · Adam Conrad · Sept. 25, 2018, 10:28 a.m.
Have you ever wondered what happens when you call Array.prototype.sort()? What did the creators of JavaScript use to sort items in the language? Today we’re going to answer that with our continuing series on common sorting algorithms. But first, the answers to last article’s Daily Problem....