Physical chemistry 2 · Many-electron atoms

Shielding and effective nuclear charge

In hydrogen 2s and 2p have the same energy; in every other atom they split, and that split sets the order in which subshells fill.