int (final ClassNode o) { final int comparision = ClassTreeNode.getClassPosition((PsiClass)getPsiElement()) - ClassTreeNode.getClassPosition((PsiClass)o.getPsiElement()); if (comparision == 0) { return toString().compareToIgnoreCase(o.toString()); } return comparision; }