When the sort parameter is empty (?sort=) it becomes a non-null, empty String.
The current logic does not handle this case properly when the handler method is annotated with SortDefault or SortDefaults.
I have provided the PR with the test case.
(If you want a specific target branch, then let me know. If you want to backport it to different branches then do so)