Description & Sample code

In order to turn on sorting features of KoolPivotTable, you do
$pivot->AllowSorting = true;
You also can turn on the sorting for each field:
$field = new PivotField("customerName");
$field->AllowSorting = true;
$pivot->AddColumnField($field):