protected override void OnColumnSortInfoCollectionChanged(CollectionChangeEventArgs e) { base.OnColumnSortInfoCollectionChanged(e); GridColumn col = Columns[fsFieldName]; if (col == null) { return; } if (col.SortIndex != 0) { SortInfo.BeginUpdate(); try { if (Columns[fsFieldName].SortIndex > 0) { SortInfo.RemoveAt(Columns[fsFieldName].SortIndex); } SortInfo.Insert(0, new GridColumnSortInfo(Columns[fsFieldName], ColumnSortOrder.Ascending)); } finally { SortInfo.EndUpdate(); } } }