ReorderData function

Reorders trait data to match the order of tips in a tree