public @NotNull List<GitRepository> sortByDependency(@NotNull Collection<? extends GitRepository> repositories) {
    return ContainerUtil.sorted(repositories, DEPENDENCY_COMPARATOR);
  }
public @NotNull List<GitRepository> sortByDependency(@NotNull Collection<? extends GitRepository> repositories)