The molecular orbitals filled with electrons according Afbaue, Pauli's exclusion and Hund's rules.
(σ1s)<(σ∗1s)<(σ2s)<(σ2s∗)<(π2px)=(π2py)<(σ2pz)<(π∗2px)=(π∗2py)<(σ∗2pz)
The important characteristic feature of this order is that the energy of σ2pz molecular orbital is higher than that of π2pxandπ2py molecular orbitals, it is due to 2s-2p mixing is allowed in case of nitrogen molecule.