title: How to sort results by distance with google places api using Nearby Search Requests
body: <p>I want to get all the airport near my location order by distance. I am using Nearby Search Requests with google places api using this url : <a href="https://maps.googleapis.com/maps/api/place/nearbysearch/xml?location=51.9143924,-0.1640153&amp;sensor=true&amp;key=api_key&amp;radius=50000&amp;types=airport" rel="nofollow">https://maps.googleapis.com/maps/api/place/nearbysearch/xml?location=51.9143924,-0.1640153&amp;sensor=true&amp;key=api_key&amp;radius=50000&amp;types=airport</a> The results that I am getting are sparse with no order what so ever. I tried rankby=distance but no result appear.
  and as per <a href="https://developers.google.com/places/documentation/search#PlaceSearchRequests" rel="nofollow">https://developers.google.com/places/documentation/search#PlaceSearchRequests</a> documentation " radius must not be included if rankby=distance".</p>