Hacker News new | ask | show | jobs
by octatone2 4824 days ago
Parsing floats rather than letting JS loose typing handle it for you kills your sort algorithm: http://jsperf.com/parse-or-no-parse-sort
1 comments

"<" on strings is lexographic.
As noted elsewhere, lexographic sorting is how the .NET version is doing it.