round-half-even (banker's) rounding has less bias over larger data sets, and is often a legal requirement for financial software.
In practice, round-half-odd is rarely used as it will never round to 0, which is likely a desirable rounding algorithm attribute.
Showing how the Array.prototype.sort function is unstable, and how to make it stable.
The results of the unstable sorting may vary from browser to browser. For example, Chrome 35's sort algorithm uses insertion sort (which is stable) for arrays shorter than 11 elements, and QuickSort for longer arrays (which is unstable); hence why an array with 11 elements is used in this fiddle.