Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, there are other solutions, such as allocating an array of 26 letters (ignoring accents) and using that to count, but sorting is easy and is generally fast enough.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: