Student or Learner
a. What did you do for them to win the game?
b. What did you do in order for them to win the game?
Do these mean
1. What did you do in order that they should win the game? (It is assumed that your intention was to make them win the game, but one cannot tell whether they won or not)
2. What did you do so that they did win the game. (They won the game, but maybe it was not your intention to make them win)
99% of the time, "in order" can be deleted in the phrases "in order to" and "in order for."
Neither of those sentences sounds natural to me.
How did you help them win the game?
What did you do that let them/helped them/enabled them to win the game?
I'm not a teacher, but I write for a living. Please don't ask me about 2nd conditionals, but I'm a safe bet for what reads well in (American) English.