J.R. S. answered 10/13/20
Ph.D. University Professor with 10+ years Tutoring Experience
You will see it BOTH ways, and while you are correct that 4s fills before 3d, it is often common to write the 3d in front of the 4s when writing the configuration just to keep the order of principle quantum number, i.e. 3 before 4, etc. Both are actually correct and it depends on who is grading the question.
Kay B.
Thank you!10/13/20