[attrtable] Don't update sort column cache when unaffected
Fix #9424