diff --git a/main.ts b/main.ts index 57a4a86..72c1c0b 100644 --- a/main.ts +++ b/main.ts @@ -98,6 +98,7 @@ async function getAPIResponse(apiReq: Request): Promise { } result.push(metadata); } + result.sort((a, b) => a.titleDe.localeCompare(b.titleDe)); jsonResponse = result; }