revert method sort