Hacker News new | ask | show | jobs
by cldellow 4176 days ago
They do specify that it's for sorting numbers, as opposed to say, text. Do some locales sort numbers differently?
1 comments

They could interpret the input data differently.

For example, a decimal mark difference[1] between locales (like comma instead of a period in floating point numbers) could yield bad results.

[1] https://en.wikipedia.org/wiki/Decimal_mark