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

There is a standard algorithm - CLDR collation. There are several options available but, generally speaking, it’s a standard.

The specific option for numeric sorting is “kn”.

As far as I can tell, every operating system and many other interfaces tend to use this standard algorithm.

https://www.unicode.org/reports/tr35/tr35-collation.html#CLD...



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

Search: