code: public void setGlobalOrder(Ordering globalOrder, DataDistribution distribution) {
  		this.localOrdering = globalOrder;
  		setRangePartitioned(globalOrder, distribution);
  	}
docs: Sets the order in which the sink must write its data. For any value other then <tt>NONE</tt>,
  this will cause the system to perform a global sort, or try to reuse an order from a
  previous operation.
  
  @param globalOrder The order to write the data in.
  @param distribution The distribution to use for the range partitioning.