Force sorting columns to be included in the export list. Fixes exception when
a scaffold is sorted against a relation column and the relation column is not
included in the export list.