$(A)$ $n=3,1=0, m=0$
$(B)$ $n=4,1=0, m=0$
$(C)$ $n =3,1=1, m =0$
$(D)$ $n=3,1=2, m=1$
$(B)$ $n+\ell=4+0=4$
$(C)$ $n+\ell=3+1=4$
$(D)$ $n+\ell=3+2=5$
Higher $n+\ell$ value, higher the energy \& if same $n +\ell$ value, then higher $n$ value, higher the energy.Thus: $D > B > C > A$.