Question: why are d orbitals out of order?
Answer: The aufbau principle explains how electrons fill low energy orbitals (closer to the nucleus) before they fill higher energy ones. ... d-block elements are thought of as elements in which the last electron to be added to the atom is in a d orbital (actually, that turns out not to be true!