Controller realigns the values to be in order