But don`t get me wrong, it would be wise to review all data about energy level diagram, and Hnd`s rule. Also you should understand that 4s orbitale is not first orbitale to be filled. You probably know that everything starts with 1s orbitale, than 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d..