Ignoring punctuation in SortableNames.compare results in unexpected sorting #7
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ardouglass/sortable-names#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
5e07814edb/src/sortable-names.ts (L372)This was enabled to ensure sorting an array like
["D'arcy", "Darcy", "Darby"]would return as["Darby", "D'arcy", "Darcy"]and not["D'arcy", "Darby", "Darcy"].This works with letter by letter sorting, but for a list of authors, people probably expect word by word sorting. For example, Dick, Philip K. should sort before Dickey, Eric Jerome.