Skip to content

TreeOrdering.Sort<TItem,TIdentity> method

namespace: Serenity.Services   assemblySerenity.Net.Services

public static List<TItem> Sort<TItem, TIdentity>(IEnumerable<TItem> items, 
    Func<TItem, TIdentity> getId, Func<TItem, TIdentity?> getParentId)
    where TIdentity : struct

See Also