Function Datagrid-Update-Sort-Column

Part of:

package weblocks
( datagrid-update-sort-column < grid > )
This function is called to ensure that a datagrid is sorted on
sortable column (if one is available). If the datagrid is not sorted,
this function finds the first sortable column and sorts the datagrid
on that column.