News for hackers. Stuff that matters.
Re:Blessed Are the JavaScript Developers by cj on Monday August 31, 2020 @12:31PM (#24333052)
V8 unit test for .sort() explains the behavior as...

> Default sort converts each element to string and orders lexicographically.

https://chromium.googlesource.com/v8/v8/+/4.3.18/test/mjsuni...

Re:Blessed Are the JavaScript Developers by mirkules on Monday August 31, 2020 @12:39PM (#24333153)
“You’re using it wrong” is a poor argument for undesired/unexpected behavior (aka, a bug).
Re:Blessed Are the JavaScript Developers by cj on Monday August 31, 2020 @02:16PM (#24334300)
I actually stumbled across the V8 link while looking to see if there were a bug logged for this behavior somewhere. I agree it seems like a bug.

I'm definitely not saying "You're using it wrong".

Re:Blessed Are the JavaScript Developers by mirkules on Tuesday September 01, 2020 @12:14AM (#24338495)
Oh, I was not insinuating you were. I was directing my comment into the V8 developers’ direction