added a command to check the order of the tree