From 32ebe719a875eae7b165ccc50435ac96c3363940 Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Wed, 13 Dec 2023 22:01:43 +0800 Subject: [PATCH] Sort groups as well --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 50da1efa..726cceb9 100644 --- a/main.py +++ b/main.py @@ -1650,4 +1650,4 @@ def all_groups(): title = line[1:].strip() result.append(title) break - return json.dumps(result) + return json.dumps(sorted(result))