This function reorganizes the internal structure of the tree to get the ladderized effect when plotted.
an object of class
a logical specifying whether the smallest clade is on the
right-hand side (when the tree is plotted upwards), or the opposite
1 2 3 4 5 6