The three more energy electron layers for Indium(49) are, sorted from lower to higher energy:
[Kr] 5s2 4d10 5p1$5\text{s}^24\text{d}^{10}5\text{p}^1$
From this configuration, it could be said that is easy to subtract the 5p1$5\text{p}^1$ electron (oxidation state +1), next start subtracting electrons from the 4d layer. However, the more common oxidation state of Indium is +3 (as in In2Se3$\ce{In2Se3}$). It seems electrons are subtractsubtracted from layer 5s before to the ones of 4d. This could break the rule of fillfilling the lower energy layer first.
How to explain the +3 oxidation state of Indium taken into account electron configurations ?