Added server-side support for sorting.
Added method for deriving the OrderBy func from the Sort model.