Hacker News new | ask | show | jobs
by lispisok 1095 days ago
In their table sorting by percent or total laid off is worthless because they are sorting strings so "1000" comes before "90"
2 comments

They laid off anyone competent enough to do it
Haha this is probably because in the crippled language called JavaScript array elements are by default sorted by first converting them to strings.
I might be the only developer with basically no JS experience. I could not believe this was true. I had to look up. It was real.