The correct order of relative stability of half filled and completely filled orbitals is
d5 < p3 < d10 < p6
completely filled orbital is more stable than half filled orbital and fully filled and half filled p orbitals are more stable than corresponding d orbitals.