I am a bit surprised about the negative rep (not that I mind, it's a free world) as you asked for the relative energies and I gave you the simplest response. That is all that the examiners want.
Each energy shell contains subshells. The subshells have relative energies 's' lower than 'p' which in turn is lower than 'd' which is lower than 'f'.
Clearly if an energy level doesn't contain a specific sub-shell (eg level 2 does not have 'd' or 'f' orbitals) then you just discuss the ones it does contain.
Using the relative energies brings you into the
Aufbau principle and explains why the orbitals fill up in the order they do.