Ah sorry, I was referring to the whole loop; for each entry you seem to traverse the tree in `findPage`. A Depth First Traversal of the tree would give the pages in order.