Many-body perturbation theory is applied to the calculation of photoionization cross sections with excitations (2p, 3s) to (4s, kl) and (3p, kl) of sodium. The double-electron excitations (2p, 3s) to (4s, nl) and (3p, nl) are included and lead to the resonance structure between 38.5 and 46.5 eV. The cross section for the transition (2p to kd+ks) is obtained taking into account the random-phase approximation (RPA) and an important part of the Brueckner-orbital (BO) and structure-radiation (SR) corrections. A comparison of the contributions from RPA, BO and SR for the transition (2p to kl) is presented. The contributions of substantial correlations shake-off, virtual-Auger, knock-out and ground-state correlation (GSC) have been calculated and discussed for the transitions (2p, 3s) to (4s, kd) and (3p, kp), respectively. The ratios of the contributions from the cross section of photoionization with excitations to the cross section of the transition (2p to kl) are in good agreement with experiment.