Jakarta Persistence (JPA) Method

Order asc(
  Expression<?> expression,
  Nulls nullPrecedence
)


Create an ordering by the ascending value of the expression.
Parameters:
expression - expression used to define the ordering
nullPrecedence - the precedence of null values
Returns:
ascending ordering corresponding to the expression.
Since:
Jakarta Persistence (JPA) 3.2