For anyone who has experience using the contentful.com API, I'm trying to query and sort by field name and currently getting a ServerError. An example of the query that's being generated against their example API (with fields.name as the parameter):
https://cdn.contentful.com/spaces/cfexampleapi/entries?order=fields.name&access_token=b4c0n73n7fu1
Note that if sys.createdAt is used it works fine...
https://cdn.contentful.com/spaces/cfexampleapi/entries?order=sys.createdAt&access_token=b4c0n73n7fu1
The documentation is pretty vague (https://www.contentful.com/developers/documentation/content-delivery-api/javascript/#search-order) and I've searched long and hard for examples / samples but to no avail.
Thanks in advance for any thoughts / ideas!