I have a tree data structure that basically looks like this:
I need to group some of the child nodes by a common property; I need it to end up like: