diff --git a/src/routes/names/+server.ts b/src/routes/names/+server.ts index c69f717..e77a5f6 100644 --- a/src/routes/names/+server.ts +++ b/src/routes/names/+server.ts @@ -6,6 +6,7 @@ export function GET() { const names = readdirSync(storagePath).filter((f) => statSync(`${storagePath}/${f}`).isDirectory() ); + names.sort() return json(names); }