Hydraulic Brake Switch Connections
Looking at that picture as shown, the switch is in the middle, rears to the left, fronts to the right. Keep fronts on one side of the switch and rears on the other side. Other than that it doesn't matter what ports you use for what.
Alan