jskatas.org Continuously Learn JavaScript. Your Way.

Array API: stable array.sort()

array.sort() - is now a stable sort

array.sort() - is now a stable sort

Links

MDN chapter on "Sort stability".
Blog post the stable sort, on the v8 blog.