Grid Sorting

I want to sort all the records by the date column field after I load the grid with all the records.

But if I change the mygrid.setSorting(date,na,na) in the follwing piece of code, the grid content is getting distorted in an unusual fashion.Here I am using setRowspan to merge two records which are to the same date.

Please help me through this.

There is known issue with sorting grid in rowspan - please contact us directly at if you need the fix ASAP.