Skip to content
kurnakovv edited this page Feb 19, 2024 · 3 revisions
IOrderedEnumerable<TSource> OrderByPriority<TSource, TKey>(
    this IEnumerable<TSource> source,
    Func<TSource, TKey> keySelector,
    IEnumerable<TKey> priorities
)

Full docs here


IOrderedEnumerable<TSource> OrderByPriority<TSource, TKey>(
    this IEnumerable<TSource> source,
    Func<TSource, TKey> keySelector,
    params TKey[] priorities
)

Full docs here

Clone this wiki locally