How can I rearrange a CSV file with taxonomic data according to to a template list
I am trying to replace the tips of my Phylogenetic tree with the taxa names. I have a CSV file with the tip labels in the first column and the taxa names in the second column. However, the order of the tip labels on the tree is different from the order of the CSV. How can I rearrange the CSV file to match the order of the tip labels without doing it manually?