An ordering question is useful when a later step needs a result from an earlier one. If two steps can swap places, the teacher can combine them into one item so both valid routes earn credit.

A worked example with interquartile range ​

Calculating the interquartile range of an ungrouped data set shows how sequence connects to mathematical meaning. Each step prepares values for the next calculation.

StepAction
1Sort the raw data values from lowest to highest.
2Find the median to divide the data into two halves.
3Calculate the first quartile using the lower half.
4Calculate the third quartile using the upper half.
5Subtract the lower quartile from the upper quartile.

For example, a student can sort 9, 2, 7, 12, 4, 5, 10 to get 2, 4, 5, 7, 9, 10, 12. In the median-of-halves method, the median is 7 and stays out of both halves. The lower and upper quartiles are 4 and 10, so the interquartile range is 6. Asking which two values the student needs before they can subtract gets at the dependency behind the order.

Handling steps that can occur in either order ​

Real tasks often include steps that can occur in either order. In the interquartile range example, step 3 and step 4 form a flexible pair. A student can calculate the lower quartile first, or calculate the upper quartile first. Both values depend on step 2, and step 5 requires both results. Neither quartile depends on the other.

An automatic checker with a single answer key may deduct credit for a valid swap. Three ways of writing the question handle the flexible pair.

Compound bundling ​

One approach combines the independent actions into a single item.

"Find the median of each half to get the lower and upper quartiles."

Bundling leaves four clear milestones while removing the artificial choice between two equally valid steps.

Prompt constraints ​

Another option adds a directional rule directly in the prompt.

"Order the steps to find the interquartile range, working from lower values to higher values."

A directional rule establishes one intended path without changing the underlying mathematics.

Phased sub-tasks ​

A third choice splits the process across separate questions. One question asks students to sort the data and identify the median, while a follow-up question asks students to identify both quartiles and calculate the spread. Shorter lists also prevent screen clutter, since four to six items keep the focus on the concept.

Ordering in Reparse ​

Reparse provides a built-in reparse-order question block. Authors write the items in solved order using standard YAML.

markdown
```reparse-order
items:
  - Sort the raw data values from lowest to highest
  - Find the median to divide the data into two halves
  - Find the median of each half to get the lower and upper quartiles
  - Subtract the lower quartile from the upper quartile
```

Students see the items shuffled when they open the assignment.

Reparse evaluates the student's submission by finding the longest ordered subset. Items that remain in correct relative sequence receive points, and only displaced items lose credit.

Authors supply one key order, and Reparse checks against that single list. It does not accept an alternate order as fully correct. If an author separates two flexible steps without a prompt constraint, a student who swaps them receives credit for the items that remain in sequence, but one of the swapped items is marked wrong. Bundling flexible steps or stating a clear direction in the prompt keeps the grading aligned with student work.

Teachers comparing assignment formats can read the Google Forms alternative guide for differences in scoring, or the guide on whole-class feedback for homework to see how grouped responses simplify review.