sorting

Sets whether the user could sort the grid by clicking the column header cells. By default sorting is disabled. Can be set to bool value or to a JavaScript object which represents the sorting configuration:

$("#grid").shieldGrid({
    dataSource: {
        data: [
            { ID: 1, name: "name1" },
            { ID: 2, name: "name2" }
        ]
    },
    sorting: true,
    columns: [
        { field: "ID", title: "Unique Number", format: "{0:c}" },
        { field: "name", title : "Name", width: "300px" }
    ]
});

Online example you can find here: sorting