code: private static int[] createOrderArray(final int start, final int length) {
      final int[] order = new int[length];
      for (int i = 0; i < length; i++) {
        order[i] = start + i;
      }
      return order;
    }
docs: Creates the initial order array.