> ## Documentation Index
> Fetch the complete documentation index at: https://edzo.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Sort Question Block

> Learn how to use Sort Question blocks to create categorisation and grouping activities.

The **Sort Question** block lets learners categorise items into different groups or buckets. It's an interactive drag-and-drop activity perfect for classification, sorting, and categorisation exercises.

Items can include text, images, or both, and you can create as many groups as needed.

> [!NOTE]
>
> Sort Questions support both exact matching (specific items to specific groups) and value matching (items sorted by their numeric value).

## When to use Sort Questions

Sort questions work well for:

* Categorisation activities (animals vs plants, living vs non-living)
* Sorting by attributes (odd vs even numbers, shapes by sides)
* Classification tasks (parts of speech, states of matter)
* Grouping related concepts
* Venn diagram-style activities

## Settings

### Layout settings

**Layout** `select` (default: flex)

How items are arranged: **flex** (wrapping row) or **grid** (fixed columns).

**Grid columns** `slider` (default: 2)

The number of columns for the group buckets (1–4). Only visible when layout is set to grid.

### Matching settings

**Match type** `select` (default: exact)

How answers are evaluated:

* **Exact match**: Each item must be placed in its specifically assigned group.
* **Value match**: Items are matched based on their numeric value, allowing flexibility in which specific items fill each group.

### Value display settings

**Show value total** `switch` (default: false)

When enabled, displays the total value of all items placed in each bucket. Useful for grouping by quantity.

**Value prefix** `text`

Text displayed before the value total (e.g., "\$" for money).

**Value suffix** `text`

Text displayed after the value total (e.g., "kg" for weight).

### Image settings

**Image fit** `select` (default: cover)

How images are displayed within items: **cover** (fills the space, may crop) or **contain** (shows entire image).

**Image size** `select` (default: md)

The size of images in items: **small**, **medium**, or **large**.

**Image padding** `select` (default: none)

Padding around images in item cards.

## Creating a Sort Question

To create a sort question:

1. Create your **buckets** (groups/categories) with labels
2. Add your **items** that learners will sort
3. Assign each item to its correct bucket
4. Optionally set values on items for value-based matching

## Answer and Marking

The question is marked based on the **Match type** setting:

* **Exact match**: All items must be in their specifically assigned buckets
* **Value match**: The total value in each bucket must match the expected total

## Response settings

**Response requirement** `select` (default: Correct)

Determines when the question is considered complete:

* **Correct**: The learner must answer correctly to proceed.
* **Answered**: Any response is accepted; correctness isn't required.
* **Optional**: The learner can skip the question entirely.

**Max responses** `slider` (default: 0)

The number of attempts the learner can make before the question is locked (0–3). Set to **0** for unlimited attempts.

**XP points** `slider` (default: 5)

The experience points awarded for answering the question correctly (0–10).

## Tips for teachers and parents

**Best practices:**

* Use clear, distinct category names that learners can easily understand
* Start with two categories before introducing more complex multi-category sorts
* Balance the number of items across categories when possible
* Use **Value match** for math activities where multiple correct arrangements exist
* Add images to make sorting more engaging for visual learners
* Consider using distractors (items that don't belong in any category) to increase challenge


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.