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;
|
hasNextPage = results.organization.membersWithRole.pageInfo.hasNextPage;
|
||||||
cursor = results.organization.membersWithRole.pageInfo.endCursor;
|
cursor = results.organization.membersWithRole.pageInfo.endCursor;
|
||||||
}
|
}
|
||||||
return members;
|
return members.sort();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue