code: public void setGroupOrder(int inputNum, Ordering order) {
  		if (inputNum == 0) {
  			this.groupOrder1 = order;
  		} else if (inputNum == 1) {
  			this.groupOrder2 = order;
  		} else {
  			throw new IndexOutOfBoundsException();
  		}
  	}
docs: Sets the order of the elements within a group for the given input.
  
  @param inputNum The number of the input (here either <i>0</i> or <i>1</i>).
  @param order    The order for the elements in a group.