sort stats list by name
This commit is contained in:
@ -220,6 +220,8 @@ export const getServerSideProps = async (context) => {
|
|||||||
...publisher,
|
...publisher,
|
||||||
// Potentially add more computed properties or transformations here if needed
|
// 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 {
|
return {
|
||||||
props: {
|
props: {
|
||||||
|
Reference in New Issue
Block a user