java.util.Set or java.util.Map in its natural order
Sorting is performed in memory, by Java's java. or java.,
and is maintained by any operation that mutates the collection.
SortComparator to sort the collection in memory using a java.util.Comparator .
jakarta.persistence.OrderBy to order using an expression written in HQL.
SQLOrder to order using an expression written in native SQL.
It is illegal to use both SortNatural and SortComparator.
SortComparator, jakarta.persistence.OrderBy , SQLOrder