For a given principal level n = 4, the energy of its subshells is of the order
s < d < f < p
s < p < d < f
d < f < p < s
s < p < f < d
energy of subshell can be calculated as (n+l) and for a shell it will be always s < p < d < f