revert sort