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 o
Array#sort()
After some more research, it appears, for Mozilla/Firefox, that Array.sort() uses mergesort. See the code here.