Otter SDK Reference
Version:

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

Syntax

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

Parameters

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