private @NotNull List<VcsRef> sort(@NotNull Collection<? extends VcsRef> refs) {
    return ContainerUtil.sorted(refs, getLabelsOrderComparator());
  }
private @NotNull List<VcsRef> sort(@NotNull Collection<? extends VcsRef> refs)