# Reordering Items

Draft Order Magic lets you reorder line items in your draft orders using drag-and-drop.

### How to reorder line items

#### Using drag and drop

1. Open a draft order in the editor
2. Find the line item you want to move
3. **Click and hold** the drag handle (⋮⋮) on the left side of the line item
4. **Drag** the item up or down to the desired position
5. A blue indicator line shows where the item will drop
6. **Release** to drop the item in place

The order you set is saved with the draft order.

### Limitations

#### Can't sort automatically

Draft Order Magic doesn't have automatic sorting. You must manually drag items. For automatic sorting, sort in a spreadsheet and use CSV import.

#### Large orders can be tedious

For orders with 100+ line items, consider using CSV import with items pre-sorted.

#### Mobile limitations

Drag-and-drop works best on desktop.

### Keyboard accessibility

Currently, reordering requires mouse/touch dragging. Alternatives:

1. Create the order with items in the desired sequence initially
2. Use CSV import with pre-sorted items

### Troubleshooting

#### Can't drag an item

* Make sure you're clicking the drag handle (⋮⋮), not the item itself
* Try refreshing the page if the handle isn't responding

#### Item snaps back to original position

* Drop the item when you see the blue indicator line
* Make sure your mouse button is fully released

#### Order not saving

* Click the **Save** button after reordering
* Changes to item order aren't auto-saved

#### Drag handle not visible

* Scroll up or down to bring the line item fully into view
* Try expanding your browser window if it's very narrow


---

# 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://responsive-media.gitbook.io/draft-order-magic/draft-order-editor/reordering-items.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.
