SMART datagrid v.1 > Classes > DataColumn
The sorting order of this column.
It starts from 0. If it is not sorted column, it will return -1. You can check sorting direction by sortDirection property.
Defaults to -1.
$('#sort').click(function () {
var col = grid.focusedColumn();
if (col.sortOrder() < 0) {
grid.orderBy([col]);
}
});