Fix a bug changing the CCA data table sort order with a row selection in effect.