geoCoordinates Sorting?

Hi, there:
(Posted this on Slack as well)

I am amble to filter a query based on geoCoordinates through a WHERE clause, but I can’t find a way to sort or OrderBy by a geoCoordinates field. Has anyone gotten this working? In SQL I could create an implied field and I see some examples using aliases in other implementations of GraphQL but can’t get it going in Weaviate.

Thank you!

hi @mrisher! Welcome to our community :hugs:

Sorry for the delay here :disappointed:

If you filter by geocoordinate, you will get the closest results first. Is that what you are looking for?

If you just query the data, without passing a reference geocoordinate it will simply list the objects, without any sorting.