System::Collections::Generic::IEnumerable::LINQ_OrderBy method

IEnumerable::LINQ_OrderBy(const Func<Source, Key>&) method

template<typename Key> SharedPtr<Linq::IOrderedEnumerable<Source>> System::Collections::Generic::IEnumerable<T>::LINQ_OrderBy(const Func<Source, Key> &keySelector)

See Also

IEnumerable::LINQ_OrderBy(const Func<T, Key>&) method

Sorts the elements of a sequence in ascending order according to the key values selected by keySelector.

template<typename Key> SharedPtr<Linq::IOrderedEnumerable<T>> System::Collections::Generic::IEnumerable<T>::LINQ_OrderBy(const Func<T, Key> &keySelector)
ParameterDescription
keySelectorA function to extract a key from an element.

ReturnValue

An IOrderedEnumerable whose elements are sorted according to a key

See Also