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

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<IEnumerable<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 IEnumerable whose elements are sorted according to a key

See Also

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

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

See Also