SortOrder
public protocol SortOrder : 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() -> OrderingProtocol
Return Value
The ascending Ordering object.
-
Specifies descending order.
Declaration
Swift
func descending() -> OrderingProtocol
Return Value
The descending Ordering object.