diff --git a/Makefile b/Makefile index f84ed5d..5a3f292 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ with open(sys.argv[2], "w") as f: "any":any, "all":all, "cull_whitespace":(lambda x: " ".join(x.split())) }) - for filename in ([sys.argv[1]] if sys.argv[1] != "ALL" else glob.glob("cards/*.yaml")): + for filename in ([sys.argv[1]] if sys.argv[1] != "ALL" else sorted(glob.glob("cards/*.yaml"))): if sys.argv[1] == "ALL": f.write(f"\n\n

{filename}

\n") with open(filename) as f2: data = f2.read() try: