random.shuffle applied to outputs