Are you using databound data? If not, the sortexpression property
will need to be manually set. Edit Columns of the
datagrid, select a column, find sortex[ression property under
Behavior. Give it a value. Databound items default to
the field name of the databound item.