sort emus and memes

This commit is contained in:
Ted Unangst 2021-11-03 01:48:23 -04:00
parent 85ec902cfd
commit 493f5fc8f8
1 changed files with 2 additions and 0 deletions

2
web.go
View File

@ -163,6 +163,8 @@ func showfunzone(w http.ResponseWriter, r *http.Request) {
memenames, _ = dir.Readdirnames(0) memenames, _ = dir.Readdirnames(0)
dir.Close() dir.Close()
} }
sort.Strings(emunames)
sort.Strings(memenames)
templinfo := getInfo(r) templinfo := getInfo(r)
templinfo["Emus"] = emunames templinfo["Emus"] = emunames
templinfo["Memes"] = memenames templinfo["Memes"] = memenames