Method SortByFkDependency(List<RedbValue>)
Sort values by ArrayParentId dependencies (single-threaded).
BFS algorithm: first records without parent, then their children, etc.
public static List<RedbValue> SortByFkDependency(List<RedbValue> values)
Sort values by ArrayParentId dependencies (single-threaded).
BFS algorithm: first records without parent, then their children, etc.
public static List<RedbValue> SortByFkDependency(List<RedbValue> values)