revert sortextable changes