rollback sort