public int CompareTo(object obj) { TableColumn temp = obj as TableColumn; return(this.DisplayIndex.CompareTo(temp.DisplayIndex)); }