fix(dev-infra): sort contributors alphabetically in get-data.ts
script (#35997)
The `contributing-stats/get-data.ts` script, which is used to retrieve org-wide contribution data, returned the contributors in retrieval order. This commit ensures contributors are ordered alphabetically, which makes it easier to find the stats for a specific contributor. PR Close #35997
This commit is contained in:
parent
d8f9ec5291
commit
20f01163af
@ -119,7 +119,7 @@ async function getAllOrgMembers() {
|
||||
hasNextPage = results.organization.membersWithRole.pageInfo.hasNextPage;
|
||||
cursor = results.organization.membersWithRole.pageInfo.endCursor;
|
||||
}
|
||||
return members;
|
||||
return members.sort();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user