gt_admix_reorder_q function

Reorder the q matrices based on the grouping variable