Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Natural Order - Should a Postfix Character Affect Numerical Sort Order? #27

Open
gokieks opened this issue Dec 2, 2022 · 0 comments
Open

Comments

@gokieks
Copy link

gokieks commented Dec 2, 2022

If I run natural order sort on this set {1,1-1,1-2}, I get the expected sorted order of:

1
1-1
1-2

However, if I do it on the set {1a, 1-1a, 1-2a}, then the sorted order becomes:
1-1a
1-2a
1a

To me at least, I think the natural human sort order for these two sets should be the same, with 1/1a first. Am I alone in this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant