allow to order by distance

doesn't this duplicate testGeoTypeQueries() to some degree?