Physical chemistry 2 · Many-electron atoms
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.