wrong ordering for last observation