Added a method TreeViewItem::addSubItemSorted()