pe: keep the state updates in order of address

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>