api
api copied to clipboard
for the CRI collection is there a way to sort alphabetically the granules?
Is there a way to sort the granules index of the CRI collection ?
i.e. a request for granules doesn't have things alphabetically https://api.govinfo.gov/packages/CRI-2020/granules?offset=7500&pageSize=100&api_key=
@relarson1 - that is currently not available, but something we can look at adding - sort by arbitrary field returned.
To be clear, do you want to filter by alphabet numbers for the title, or similar?
The example you have above appears to be alphabetical on first glance.
I believe the the granules are returned in the normal package order, but I can verify that.