I have a R dataframe with column orders as follows
      Name,ID,Class,Division
I have another dataframe with same columns but,with different order.
     ID,Class,Division,Name
I want above dataframe column orders to be same as that of the first one. How can I achieve this in R?
 
    