This function reorders the permuted sample-by-variable data frame to match the ID order of the primary sample-by-variable data frame.
Useful links