The three more energy electron layers for Indium(49) are, sorted from lower to higher energy:
[Kr] $5\text{s}^24\text{d}^{10}5\text{p}^1$
From this configuration, it could be said that is easy to subtract the $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 $\ce{In2Se3}$). It seems electrons are subtracted from layer 5s before to the ones of 4d. This could break the rule of filling the lower energy layer first.
How to explain the +3 oxidation state of Indium taken into account electron configurations?