code: function orderCoords(coords){
    if (config.coordinateOrder){
      return coords;
    }
    if (coords[2]){
      return [coords[1], coords[0], coords[2]];
    }
    return coords.reverse();
  }
docs: reorder coordinates to lat, lng iff config.coordinateOrder is false.
  @param  {Number[]} coords An array of coordinates,  [lng, lat, ...etc]
  @return {Number[]} An array of coordinates in the correct order.