# Sort

<figure><img src="/files/dzd60e6xcisO2hL7tsS7" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
Sort supports *nested folders*. Simply add a `/` in between each folder you'd like to nest.
{% endhint %}

The sort parameters above would result in something like this:

<figure><img src="/files/HF6kcTGSjCx6eg4r7H2o" alt="" width="198"><figcaption></figcaption></figure>

## Undoing Actions

Because Premiere Pro's scripting API has limited support for Undo Groups, we hacked together an alternative. After performing any sort from the Sort panel, you can undo that action by clicking the Undo button in the top-left corner.

## Options

**Sequences**\
Name of the resulting folder containing all of the Sequence items

**Audio**\
Name of the resulting folder containing all of the Audio items

**Video**\
Name of the resulting folder containing all of the Video items

**Images**\
Name of the resulting folder containing all of the Image items

**Old**\
Name of the resulting folder containing all of the folders that no longer have items contained in them

**Missing**\
Name of the resulting folder containing all of the missing source items

**Remove old Folders**\
Toggle on to remove folders that no longer have items contained in them

**Ignored Files/Folders**\
Name of a folder to ignore from Sorting

**Sort only selected folder**\
Toggle on to only sort the files in the currently selected project folder


---

# 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://motion-studio.mtmograph.com/premiere-pro-extension/sort.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.
