orderBy property
The $orderby
parameter is used to specify sorting of the results based on one or more fields.
You can sort the results in ascending or descending order.
Example:
orderBy: OrderBy.desc('Price')
Implementation
final OrderBy? orderBy;