To reproduce: myTree.TreeViewElement.Comparer = new TreeSort(myTree.TreeViewElement); Work around: None