SCI-680: remove obsolete variables from table, sort variable names
and dataset indices