et_availableSorts();
    availableSorts.push({"name":prop+"ASC","sorts":[{"p":prop,"d":0}]});
    availableSorts.push({"name":prop+"DES","sorts":[{"p":prop,"d":1}]});
    ctx.DataProvider.set_availableSorts(availableSorts);
}

function AddUnsortableProperty (prop) {
    if (typeof ctx.DataProvider.Unsortable === "undefined") {
        // Create an empty unsortable array
        ctx.DataProvider.Unsortable = [];
    }
    ctx.DataProvider.Unsortable.push(prop);
}

function CheckSortableProperty (prop) {
    