According to Aufbau principle, the correct order of energy of 3d, 4s and 4 p-orbitals is
4s<3d<4p
Using (n + l) rule