diff --git a/pages/cart/publishers/stats.tsx b/pages/cart/publishers/stats.tsx index b6ff171..835c79a 100644 --- a/pages/cart/publishers/stats.tsx +++ b/pages/cart/publishers/stats.tsx @@ -220,6 +220,8 @@ export const getServerSideProps = async (context) => { ...publisher, // Potentially add more computed properties or transformations here if needed })); + allPublishers.sort((a, b) => a.firstName.localeCompare(b.firstName) || a.lastName.localeCompare(b.lastName)); + return { props: {