Skip to content

Commit

Permalink
Merge pull request #63 from explodabowl/AlphabetizedAuthors
Browse files Browse the repository at this point in the history
Alphabetized authors
  • Loading branch information
leomet07 committed Feb 26, 2024
2 parents 2f077df + 5c10086 commit f3b58c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/GenerateContributorsJSX.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Link from "next/link";
export default function generate_contributors_jsx(
contributors: ReceivedStaff[]
) {
contributors.sort((a,b) => 0 - (a.name < b.name ? 1 : -1))
return (
<span>
{contributors.map((contributor: ReceivedStaff, index: number) => {
Expand Down

0 comments on commit f3b58c7

Please sign in to comment.