Routine to provide a random order for counterbalanced variables