After an API url which supports sorting, add the 'orderby' querystring part, e.g. myapiurl?orderby=property
Default sorting is ascending, which can be changed by setting the 'direction' in the querystring to 'descending', e.g. myapiurl?orderby=property&direction=descending
Sorting supports properties on nested object, e.g. nestedobject.property, however it is highly likely that sorting based on these properties will perform much slower as they will be executed using in-memory sorting rather than directly against the underlying data set