Hi, the issue is that when you specify the descending sort parameter, you are using single quotes to delimit your field, which is not valid JSON. If you instead use double quotes, your query will work as expected.
over 7 years ago
Also, an ascending sort does work properly. It is only a descending sort with the geolocation query that fails.