Stator wires

Hi, New to this forum but need some help. I have a 2008 Sportsman 500 HO with carburetor. I just replaced the stator but the new stator has one different connection. The connector with the three yellow wires coming from the stator is different from the old stator. I can splice the new three yellow wires into the old connector and use it to plug into the existing plug on the machine, but not sure which yellow wires to connect. I assume the middle would go to middle, but the two sides are the issue. Anyone know if it matters or how to figure it out? Thanks.