Hacker News new | ask | show | jobs
by edent 2021 days ago
Is `$name->sorted` incorrect? I would have thought it sorted on family name, not middle name?

For example, "Alice Betty Cass" should be sorted as "Cass, Alice Betty". The example given would sort it as "Betty Cass, Alice". That would only make sense if the surname was double-barrelled. e.g. Alice Betty-Cass.

1 comments

...unless "Betty Cass" is a two-word, non-hyphenated surname. Yes, they also exist.
e.g. most surnames in written in Irish or Scottish Gaelic (Mac Dara) or literally any Spanish-speaking country. They exist and are extremely common.

This package is a complete waste of time, I'm sorry to say.