KoolGrid support column sorting. To enable this feature, you set $AllowSorting property to true. Setting this property in KoolGrid's instance or in GridTableView's instance will enable sorting feautre of all sortable column.
span style="color: #ff0000;">"/KoolAjax/koolajax.php";
$koolajax->scriptFolder = $KoolControlsFolder."/KoolAjax""/KoolGrid/koolgrid.php"//This $db_con link has been created inside KoolPHPSuite/Resources/runexample.php
$ds->SelectCommand = "select customerNumber,customerName,phone,city from customers""grid");
$grid->scriptFolder = $KoolControlsFolder."/KoolGrid";
$grid->styleFolder="default""655px"//Enable sorting for all rows;
"form1" method="post""padding-bottom:5px;"