docs: function sortStoresByDistance(location, stores) {
    var i, s;
  
    for (i = 0; i < stores.length; i++) {
      s = stores[i];
      s.distance = geo.getDistanceInMiles(location,
          { lat:s.latitude, lng:s.longitude });
    }
  
    stores.sort(function(a,b) { return a.distance - b.distance; });
    return stores;
  }