title: how to sort results in google places api
body: <p>I want to sort results fetched via google places api based on increasing distance from "location" (a pair of lat, lng). There is no documentation on their official page. <a href="http://code.google.com/apis/maps/documentation/places/#PlaceSearchRequests" rel="nofollow">http://code.google.com/apis/maps/documentation/places/#PlaceSearchRequests</a></p>
  
  <p>It just says:</p>
  
  <blockquote>
    <p>Each element of the results array contains a single result from the
    specified area (location and radius), <strong>ordered by prominence</strong>. The
    ordering of results can be influenced by check-in activity within your
    application - Places with many recent check-ins may figure more
    prominently in your application's results. The result may also contain
    attribution information which must be displayed to the user.</p>
  </blockquote>
  
  <p>However they didnt mention anything about their <em>prominence meter</em> algorithm.</p>