GraphQL - Get merged PullRequests in mergedAt order

Hi,

I need a list of merged pull requests in the same order as they appear in GitHub under “Commits”, or as

git log

shows them. Going via a Repository seems to only allow retrieving the first/last pull requests by creation date / number.

I could sort them myself by using the mergedAt field, but to get a reliable result I would need to retrieve all pull requests first, and I am limited to 100 anyhow.

Is there any way to achieve this?

Thanks,

Lars