JavaScript Array.sort implementation
11:28 24 Oct 2008

Which algorithm does the JavaScript Array#sort() function use?

I understand that it can take all manner of arguments and functions to perform different kinds of sorts. I'm simply interested in which algorithm the vanilla sort uses.

javascript algorithm arrays sorting