Hacker News new | ask | show | jobs
by hbn 1508 days ago
This is the correct official answer except you didn't invoke sort

"node".split("").sort().join("")

1 comments

I write a lot of ruby, I guess...