Array.prototype.sort(comparefn) was casting the result of the compare to an int, which lost when the compare function returned (ecma-valid) strange double values. These now get clamped to -1, 0, 1.
Array.prototype.sort(comparefn) was casting the result of the compare to an int, which lost when the compare function returned (ecma-valid) strange double values. These now get clamped to -1, 0, 1.