src/vs/workbench/contrib/scm/browser/scmViewService.ts/SCMViewService/insertRepositoryView
class SCMViewService:	private insertRepositoryView(repositories: ISCMRepositoryView[], repositoryView: ISCMRepositoryView): void {
		const index = binarySearch(repositories, repositoryView, this.compareRepositories.bind(this));
		repositories.splice(index < 0 ? ~index : index, 0, repositoryView);
	}