code: public void parameterizeChannel(Channel channel) {
  		if (this.ordering != null) {
  			channel.setLocalStrategy(LocalStrategy.SORT, this.ordering.getInvolvedIndexes(), this.ordering.getFieldSortDirections());
  		} else if (this.groupedFields != null) {
  			boolean[] dirs = new boolean[this.groupedFields.size()];
  			Arrays.fill(dirs, true);
  			channel.setLocalStrategy(LocalStrategy.SORT, Utils.createOrderedFromSet(this.groupedFields), dirs);
  		}
  	}
docs: Parameterizes the local strategy fields of a channel such that the channel produces the desired local properties.
  
  @param channel The channel to parameterize.