Revert the sorting order