"In team games,
the slowest player's time of the team will be used to determine the order of the teams in the cycle. Then, within each team, the order is determined by the move speed of each player compared to their teammates."
source:
https://www.warlight.net/wiki/Move_Order + the ability to read