I ran [22, 38, 19, 11, 22, 39, 28, 9, 0].sort() in Node, Firefox and Chrome, and I got the same output in all cases: [0, 11, 19, 22, 22, 28, 38, 39, 9], which is not sorted, since 9 appears after 39.
Is this a mysterious (and serious) bug in all javascript implementations?
If not, what can be wrong in my computer? Can someone try on their own browser console?