getAllNodes

Get all nodes in the tree. The nodes in the list are sorted deep to shallow and right to left