The correct option is D (π2py)< (σ 2pz)<(π∗2px)≈ (π∗2py)
Solution:
If the number of electrons in the molecule ≤ 14, then increasing energy level is :
σ1s < σ ∗ 1s < σ 2s < σ ∗2s < π 2px = π 2py < σ 2pz < π ∗2px = π∗2py< σ ∗2pz
As N2 having 14 electrons, the order of energies is according to option (A).