github: sort project candidate in the interactive wizard

Michael Muré created

Change summary

bridge/github/config.go | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

bridge/github/config.go 🔗

@@ -11,6 +11,7 @@ import (
 	"net/http"
 	"os"
 	"regexp"
+	"sort"
 	"strconv"
 	"strings"
 	"syscall"
@@ -471,6 +472,8 @@ func getValidGithubRemoteURLs(remotes map[string]string) []string {
 		}
 	}
 
+	sort.Strings(urls)
+
 	return urls
 }