Otter SDK Reference
Version:

ToSortedList<TSource, TKey>(System.Collections.Generic.IEnumerable<TSource> source, System.Func<TSource, TKey> keySelector) Method

Syntax

public static SortedList<TKey, TSource> ToSortedList<TSource, TKey>(IEnumerable<TSource> source, Func<TSource, TKey> keySelector)

Parameters

source
Type: System.Collections.Generic.IEnumerable<TSource>
keySelector
Type: System.Func<TSource, TKey>