Array.sort Sorting Stability in Different Browsers
- by Boushley
What is the stability of Array.sort in different browsers. I know that the ECMA Script specification does not specify which algorithm to use, nor does it specify whether the sort should be stable.
I've found this information on for Firefox
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array/sort
which specifies that firefox uses a stable sort.
Does anyone know about IE 6/7/8, Chrome, Safari?