alternate_pair_order function

Deterministically alternate sample order in pairs