private void HandleSortChange() { bool isDefaultSort = false; string colName = null; List <int> sortedCols = m_browseViewer.SortedColumns; // if the default column is NOT being sorted, we tell the clerk to display what the items are being sorted by if (sortedCols.Count > 0) { colName = m_browseViewer.GetColumnName(sortedCols[0]); isDefaultSort = sortedCols[0] == m_browseViewer.DefaultSortColumn; } Clerk.OnSorterChanged(m_browseViewer.Sorter, colName, isDefaultSort); }