Randomizing Two Different Routines in a Loop

OS Win10
PsychoPy version v2023.2.2

What are you trying to achieve?:
Hello everyone, we are creating a reaction time study in which participants will input the name of two different friends. They will then be shown the name of one of the two friends along with an emotion word and asked to rate how strongly they feel/ connect that emotion to that friend on a 1 to 5 scale. This will be repeated for 120 random trials, with sixty emotion words being asked about friend 1 and the other 60 being asked about friend 2. The issue we are having is that we do not know how to randomize the order of the two names popping up over the course of the 120 trials. The emotion words are already randomized as we wanted, but the friend names are not yet. How would we do this?

What did you try to make it work?:
We first tried to create two stimuli routines, one for each friend name, and we put those in one loop. This resulted in the friend names alternating every trial, which is not what we want. We then tried to create two different loops, one for each friend, for 60 trials each. We then looped the two loops together to see if it would randomize the two loops. This resulted in displaying all 60 trials for friend1 first and then all 60 trials for friend2 second. How would we go about randomizing the order of the two names displayed?

Thank you!

Have a look at my Independent Randomisation and Trial Switching online demos. I preload one list before the main loop.