Closed
Description
Out of spring-projects/spring-data-jpa#2885 we found it would be neat to have a Sort.inverse()
or Sort.reverse()
method that flips sort order and returns the reversed Sort
object.
Given our variants Sort
, QSort
and store-specific sorts, this method would allow preserving the concrete sort type instead of reconstructing a plain Sort
object.