How to remember the energy order
•1s
•2s  2p
•3s  3p  3d                
•4s  4p  4d  4f
•5s  5p  5d  5f  5g
•6s  6p  6d  6f  6g  6h
•7s 7p   7d  7f