Comment #11 on issue 90 by mark11born: V8 doesn't stable sort
http://code.google.com/p/v8/issues/detail?id=90

In V8 2.3.0 (possibly earlier) sort seems to be stable. Is this by accident or on purpose?


node> ["Foo", "Bar"].sort(function(){ return 0; });
[ 'Foo', 'Bar' ]

(I ran this in Node v0.1.101 which uses v2.3.0).

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to