SortDirection enum SortDirection Documentation Code namespace System.Linq { internal enum SortDirection { Ascending, Descending } }