# Sort Files by Created Date

While some work as expected, others may not align with its intended purpose. Therefore, we have provided a **Sort files by created date** feature that will not affect to your document library organization when modifying the files. \
\
In this doc, we will guide you how to set sort files by created date.

As usually, you need to create your document library shortcode to display it on the frontend first.

<figure><img src="/files/YaKSBblZ0V3C9DRZ2iMF" alt=""><figcaption><p>Create document shortcode</p></figcaption></figure>

In **Extra Column** field, you will see the **Created date** option to add it.\
\
And last one, choose **Created date** for sorting instead of **Modified date** option.

<figure><img src="/files/H9VoMxI8MCpinyZQkwxS" alt=""><figcaption><p>Display on the Frontend</p></figcaption></figure>

Now, you have succeeded.


---

# 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://ninjateam.gitbook.io/filebird/features/sort-files-by-created-date.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.
