Repository navigation
Case-insensitive sorting of child-resources - #1018
Merged
Merged
Conversation
dennisvang
added this pull request to stack #1019
September 25, 2026 15:54
dennisvang
force-pushed
the
fix/676-case-sensitive-sorting
branch
4 times, most recently
from
September 29, 2026 09:33
6174b63 to
11ed537
Compare
dennisvang
force-pushed
the
fix/676-case-sensitive-sorting
branch
from
September 30, 2026 13:11
11ed537 to
d18471f
Compare
dennisvang
force-pushed
the
fix/676-case-sensitive-sorting
branch
from
September 30, 2026 13:24
d18471f to
47d52f9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use
java.util.Comparatorto sort child resources by title withString.CASE_INSENSITIVE_ORDER.First sort case-insensitively, then sort lexicographically, to stabilize the result.
For example, instead of the default order (lexicographic) "A", "B", "a", "b", we now get "A", "a", "B", "b".
fixes #676
AI disclosure: Copilot (free) was used to review the PR, due to absence of human reviewers.