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.

7 Answers
7

Leave a Reply

Your email address will not be published. Required fields are marked *