FarPoint.Win.Spread.SortInfo[] sorter = new FarPoint.Win.Spread.SortInfo[3];
sorter[0] = new FarPoint.Win.Spread.SortInfo(0, true);
sorter[1] = new FarPoint.Win.Spread.SortInfo(2, true);
sorter[2] = new FarPoint.Win.Spread.SortInfo(6, true);
fpMain.ActiveSheet.SortRows(0, fpMain.ActiveSheet.RowCount, sorter); |