revert sort of events on invoice