Check documentation for the latest version of dhtmlxSuite sort DHTMLX Docs

sort

Sorts a dataset.

void sort();

Example

data.sort(function(a,b){
    return a.Version > b.Version ? 1 : -1;
},"asc");

Back to top