QuerySortOrder
public protocol QuerySortOrder : OrderingProtocol
SortOrder allows to specify the ordering direction which is ascending or descending order. The default ordering is the ascending order.
-
Specifies ascending order.
Declaration
Swift
func ascending() -> OrderingProtocolReturn Value
The ascending Ordering object.
-
Specifies descending order.
Declaration
Swift
func descending() -> OrderingProtocolReturn Value
The descending Ordering object.
QuerySortOrder Protocol Reference