reorder samples