Sorts the specified enumeration, using its default item comparer as a sorting criteria.
Namespace:
Keystone.Polaris
Assembly: Keystone (in Keystone.dll)
Assembly: Keystone (in Keystone.dll)
public static IEnumerable<TItem> Order<TItem>(
this IEnumerable<TItem> itemsIn,
OrderingType inDirection = Ascending
)
This language is not supported or no code example is available.
Type Parameters
- TItem
-
The type of the enumeration items to be sorted.
Parameters
- itemsIn
-
Type: IEnumerable<TItem>
The reference to the enumeration to be sorted. The results of the sorting process is reflected over this reference.
- inDirection
-
Type: OrderingType
Whether the items will be ordered in ascending or descending fashion. Defaults to Ascending.
Return Value
The sorted enumeration to apply further processing via method chaining.Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.