|| (sortFields != null && !sortFields.isEmpty())) {
Modifiable modifiable = null;
if (dataModel instanceof Modifiable) {
modifiable = (Modifiable) dataModel;
} else {
ModifiableModel modifiableModel = new ModifiableModel(dataModel, getVar());
dataModel = modifiableModel;
modifiable = modifiableModel;
}
modifiable.modify(filterFields, sortFields);
}