sort stats list by name
This commit is contained in:
@ -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: {
|
||||
|
Reference in New Issue
Block a user