How is the order of the energy of the atomic orbitals stabilized?
The order of the energy of the atomic orbitals stabilized based on Aufbau's principle.
Aufbau Principle :
The filling of subshells in atoms is based on their energies. Electrons first occupy the subshell with the lowest energy and progressively fill the other subshells in increasing order of energy. The subshell with the lowest energy is filled first.