buildTrees

fun <T> buildTrees(items: List<TreeNode<T>>, rootNodeIds: Set<String>): List<TreeNode<T>>

This function creates and return a list of root TreeNode's