Sort by columns with wxGrid

Sure. Pretty simple really. Try doing the following:

data.sort(lambda x,y: cmp(x[columnIndex], y[columnIndex]))

--Matt