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

> I assume this also puts "Alice2" before "Alice10".

It doesn't (per https://www.unicode.org/reports/tr10/#Non-Goals):

  > 1.9.2 Non-Goals
  >
  > The Default Unicode Collation Element Table (DUCET) explicitly does not provide for the following features:
  > [ ... ]
  > Numeric formatting: numbers composed of a string of digits or other numerics will not necessarily sort in numerical order.


Oh, that surprises me.




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

Search: