I have a grid that's pulling data from an array, and it just won't sort when it loads up. I can sort it by clicking the column header, but I need it initially sorted. No matter what I try, it always comes up unsorted. The first few entries in the Count column are 100, 222, 11, 441, 168, 15, 493, 11, 32, 24...
$('#TopCalcsGrid').kendoGrid({ dataSource: { data: topcalcs, schema: { model: { fields: { Name: { type: "string" }, Count: { type: "number" } } } } }, sortable: { allowUnsort: true }, reorderable: true, resizable: true, columns: [{ field: "Name", title: "Calculator" }, { field: "Count", title: "Count" }], sort: { field: "Count", dir: "desc" }});