readme sorting

This commit is contained in:
tree🌴 2024-02-13 14:27:51 +01:00
parent c37a80972a
commit c93c334623
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ function capitalizeFirstLetter(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
const issues = JSON.parse(await Deno.readTextFile("./dist/index.json"));
let issues = JSON.parse(await Deno.readTextFile("./dist/index.json"));
issues = issues.sort((x, y) => x.period[1] > y.period[1] ? 1 : -1);
const lines = [];