ASG sort with empty row

Good afternoon to all,

j've a little problem with sort.

To sort the grid j use the property sortsetting where j set my needs (column 2, full:=True, singlecolums:=False, direction:=sd Ascending).



In my ASG j have the last row empty, when j sort it .... the empty row goes on the top, but it must stay at the last row.



Now, in order to do this, before call ASG.QSort, j remove the last row, call qsort, and insert a new row at the end with addrow.



There's something better ???



Thank's for your attention



Daniele

set grid.SortSettings.BlankPos := blLast