Utility function that builds a valid SortByField criterion.
SortByField
The sortable field on which to sort.
The order (ascending/descending) on which to sort.
A SortByField criterion.
Utility function that builds a valid
SortByField
criterion.