SwapRows
To swap rows by directly addressing the Row index vector, use the SwapRows method, which is a very fast way to swap rows.
SwapRows rowA as Integer,rowB as Integer
rowA,rowB:
The row numbers to swap. Note those paremeters
are not bounds checked to speed things up, so be
aware that the first row is 1 and the last row
equals to the row count.
SwapRow does not forse redrawing of the grid, so when you are
done sorting the you should call the Refresh method on the Grid