Tree based sorting helper. E.g. in a tree, a node's parents should come before itself. Such an ordering is not easy in SQL so we use this helper to do ordering client side.
public static class TreeOrdering
|static Sort<TItem,TIdentity>(…)||Applies tree based ordering to the items|
- Source: TreeOrdering.cs