Handle the case where no sort order is defined on model

For graph tables, no sort order is defined by default, so just leave the table as is.