diff --git a/src/components/organisms/Shop.svelte b/src/components/organisms/Shop.svelte index 7458e92..b8cef0e 100644 --- a/src/components/organisms/Shop.svelte +++ b/src/components/organisms/Shop.svelte @@ -7,7 +7,11 @@ const { locations, shop } = getContext('global') const locationsWithPoster = locations + // Filter locations with posters only .filter((loc: any) => loc.has_poster) + // Sort locations alphabetically from slug (a>z) + .sort((a: any, b: any) => a.slug.localeCompare(b.slug)) + // Return name only .map((loc: any) => loc.name)