Fixed wrong sorting of nested types in TypeDefinitionTreeNode.