PM-747 with the move to set based parent and child collections in
GraphNode, we need to sort before comparing in the unit test.
PM-756 we use the bottomupiterator to iterator bottom up in the right
order.