From 409a49798bee6ae0f2717cd2e604f2cf3db9efb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D1=83=D0=BA=D0=B0?= <164436043+diamond-ore@users.noreply.github.com> Date: Fri, 29 Mar 2024 19:05:18 -0400 Subject: [PATCH] README list action Sort languages in alphabetical order --- update_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_list.py b/update_list.py index 87408a1..fa92ade 100644 --- a/update_list.py +++ b/update_list.py @@ -16,7 +16,7 @@ for file in files: file = file.replace("\\", "/") language = file.split("/")[-1] - for k in subsitutes.keys(): + for k in sorted(subsitutes.keys()): language = language.replace(k, subsitutes[k]) md += f"\n- [{language}]({urllib.parse.quote(file)})"