C Sharp Programming/Keywords/orderby

The contextual keyword is used to define the sort order of query results. Specifying key1  sorts from the smallest first to the largest at the end, while  key2  sorts from the largest first to the smallest at the end. The default sort order is and if neither direction is specified, results will be sorted in ascending order. Multiple keys may be used to sort, with the first one specified being the primary sort and later entries providing secondary sorts when the first key matches, e.g.,  lastName, firstname.

/Keywords