Dhtmlxgrid mygrid.sortRow

Dear,

When I try the mygrid.sortRow(3,“str”,“asc”); on my script, not thing happen, it there something wrong or I place the script in the wrong place, please help. Thx.

Below is the full script:

test: &1

Change code as

mygrid.loadXML("./php/test.php", function(){ mygrid.sortRows(0, "str", "des"); });