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

Add natural sorting for the library view #1304

Merged
merged 1 commit into from
Mar 11, 2023

Conversation

coldino
Copy link
Collaborator

@coldino coldino commented Mar 10, 2023

Natural sorting means that "10" would be sorted after "2", which is not currently the case with regular lexicographical sorting. It will be applied to any sorted column if the column contains strings.

This feature has to be enabled via a setting and could perhaps become the default in future if the tested performance impact is not bad.

This initial commit implements the algorithm but still needs to be hooked up via settings to enable it.

This implements the algorithm but still needs to be hooked up via settings to enable it.
@cadon cadon marked this pull request as ready for review March 11, 2023 15:38
@cadon cadon merged commit 6750a72 into cadon:dev Mar 11, 2023
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

Successfully merging this pull request may close these issues.

2 participants