[php] Fix sorting

This commit is contained in:
Nemo
2023-04-18 17:56:44 +05:30
committed by Nemo
parent 81b5c4d122
commit b85e8650e0

View File

@@ -37,7 +37,7 @@ with open("releases/php.json", "w") as f:
json.dumps(
dict(sorted(
releases.items(),
key=lambda x: list(map(str, x[0].split(".")))
key=lambda x: list(map(int, x[0].split(".")))
)),
indent=2,
)