int (@NotNull RepositoryNode repositoryNode) { String name = myRepositoryPanel.getRepositoryName(); RepositoryWithBranchPanel panel = (RepositoryWithBranchPanel)repositoryNode.getUserObject(); return name.compareTo(panel.getRepositoryName()); }