new(er) version of sorting-table upgrades