sortBy method
Adds a sort order
to the query. You can add multiple sort orders to the
query. The order in which you add them determines the order in which they
are applied. If no sort order is provided, SortOrder.asc is used.
Implementation
@override
JoinQueryBuilder sortBy(FieldName fieldName,
[SortOrder order = SortOrder.asc]) {
_queryBuilder.sortBy(fieldName, order);
return this;
}