# Ordering & Parsons problems

> Use solution items, distractors, and indentation to reconstruct a sequence or program.

Source: https://www.curacourse.com/help/ordering

## What this block does
Ordering asks students to reconstruct an ordered solution from items. Distractors belong in a separate zone. Use it for a sequence of events, the steps of a proof, or a Parsons problem made from lines of code.

## Set up the solution
1. Insert **Ordering** and write the task.
2. Add the solution items in the intended order.
3. Add plausible distractors that should not appear in the completed solution.
4. Choose a vertical or horizontal layout.
5. For a vertical code activity, enable indentation and set the maximum depth. Set the intended indentation of each solution item.
6. Choose whether the student’s solution and distractor zones stack vertically.

## Example: order an experiment
The block below starts with three shuffled steps. Move **Make a prediction** before **Run the experiment**, then finish with **Compare the result**. Your arrangement stays in this local preview.

## Grading behavior
The intended solution includes item order and, when enabled, indentation. The student’s response contains the solution order, distractor order, and indentation. Do not place a distractor in the authored solution just to make the exercise harder.

## Troubleshooting
If a visually correct code sequence fails, check indentation as well as order. Indentation is available for vertical layout only. For ambiguous sequences with several valid orders, revise the prompt and items so the intended solution is clear.
