Closed
Description
I was puzzled for a while when I used Sort.descending()
. Javadoc says
Returns a new {@link Sort} with the current setup but descending order direction.
I had set ignoreCase
to true on Order
but switching to descending sorting negated that change. I understood "with the current setup" to keep ignoreCase setting as is.
https://stackoverflow.com/questions/71485388/why-does-spring-datas-sort-descending-reset-ignorecase