# Challenge order

## Change challenge order

You can change a track's challenge order using the Web UI or the Instruqt CLI.

{% tabs %}
{% tab title="🌐 Web UI" %}

1. Click the track whose challenge order you want to change.
2. In the Challenges section, click **Edit order**.\
   ↳ ![](/files/3xAdVrQ7hVB9Qxu5tMyq) Icons now appear in front of the challenges.
3. Drag (click-hold-move-release) the challenge or challenges to the desired position.
4. Click **Save order**.
   {% endtab %}

{% tab title="💻 Instruqt CLI" %}
The Instruqt CLI prefixes challenge directory names with a sequence number. The directory of the first challenge is called `01-CHALLENGE_SLUG`, the second `02-CHALLENGE_SLUG`, and so on. You can modify these sequence numbers to configure the challenge order.

1. Open a terminal or code editor.
2. Change into the track directory whose challenge order you want to change.
3. Change the sequence numbers of the challenge directories to match a desired order.
4. Push your updates to Instruqt:

   ```xml
   instruqt track push
   ```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.instruqt.com/tracks/challenges/change-the-challenge-order.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
