If I wanted to write it in order of the highest energy electron... remember the shells are kind of the best way to visualize how far away we are from the nucleus, so, in this case, these higher energy electorns are going to be further in the nucleus even though they take.. it's a higher energy state to be in.