revert using ordered group