revert sorting order on index