I'm a frontman engineer at Contentful.
If you want to order records by a specific field, you need to limit the search to the content type by passing the request parameter content_type . This is because the field you want to sort may not exist in all of your records. Example:
https://cdn.contentful.com/spaces/cfexampleapi/entries?order=fields.name&content_type=cat&access_token=b4c0n73n7fu1
Note that this example still does not work, because the name field is of type Text (full text). Full-text fields support full-text search, but are not ordered. Instead, you can use the Symbol field. Characters maintain order, but not full-text search.
This, for example, will work since color is a character field:
https://cdn.contentful.com/spaces/cfexampleapi/entries?order=fields.color&content_type=cat&access_token=b4c0n73n7fu1
source share