During the change of O2 to O−2, the incoming electron goes to the orbital:
Correct sequence of energy levels in N2 molecule