diff --git a/fruehstueck.py b/fruehstueck.py index 021562f..f0a3186 100644 --- a/fruehstueck.py +++ b/fruehstueck.py @@ -81,6 +81,7 @@ def main(): with open(os.path.join(OUTDIR_JSON, json_file), "r", encoding="utf-8") as f: data = json.load(f) recipes.append(data) + recipes.sort(key=lambda r: r["name"]) # filter "Frühstück" recipes = [r for r in recipes if any(k["name"] == "Fr\u00fchst\u00fcck" for k in r["keywords"])]