> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/interacting-with-platform-5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/interacting-with-platform-5/homepage/sorting-documents.md).

# Sorting Documents

This functionality helps the users to sort the documents in ascending or descending order either based on alphabets or dates. The custom sorting is also available for the platform documents.

This feature allows users to sort documents by selecting a specific order on the platform homepage.

The following options are provided to display the available documents on the platform homepage:

1. Alphabetical/ Name (Ascending and Descending)
2. Date (Ascending and Descending)
3. Custom

* Click the ***Sort*** icon on the platform homepage.​

<figure><img src="https://1720975638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQ8HFiIhaFI79yX4ShRsp%2Fuploads%2F6quL192IQaCPEtxU2lMl%2Fimage.png?alt=media&amp;token=e81e38bf-c6f2-45ee-8cf3-c82b094ca393" alt=""><figcaption><p><em><strong>Accessing Sort option for the Platform Documents</strong></em></p></figcaption></figure>

* A context menu opens with the following sorting options:

&#x20;      ![](https://content.gitbook.com/content/Q8HFiIhaFI79yX4ShRsp/blobs/CLvgpIbO4a3MYbwlhjaP/image.png)

&#x20;     Various available Sorting options on the Platform Homepage.

{% tabs %}
{% tab title="Name" %} <img src="https://content.gitbook.com/content/Q8HFiIhaFI79yX4ShRsp/blobs/9zxzbjdcngFtqPnG3mlC/image.png" alt="" data-size="line">You can sort documents by their names in ascending or descending order (Ascending is the default order).
{% endtab %}

{% tab title="Date" %} <img src="https://content.gitbook.com/content/Q8HFiIhaFI79yX4ShRsp/blobs/degJUfqPbfqYi2w1frvT/image.png" alt="" data-size="line">You can sort documents by date using this option (Ascending is the default order).
{% endtab %}

{% tab title="Custom" %} <img src="https://content.gitbook.com/content/Q8HFiIhaFI79yX4ShRsp/blobs/llRpQonCulIctPuRjbHo/image.png" alt="" data-size="line">You can manually drag and change the order of documents.
{% endtab %}

{% tab title="None" %} <img src="https://content.gitbook.com/content/Q8HFiIhaFI79yX4ShRsp/blobs/JXdF3ZjfAB0o4ZheMubG/image.png" alt="" data-size="line">You can remove the impact of the applied **Sort by** option by selecting the **None** option.
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Date-based Sorting" %}
Select an option from the context menu. E.g., The ***Date*** option is selected in the following image:&#x20;

<figure><img src="https://1720975638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQ8HFiIhaFI79yX4ShRsp%2Fuploads%2F2X3eXahHlFeGVXnTx5gj%2Fimage.png?alt=media&amp;token=1326bbfa-86e2-465c-9dd2-61ff8b512c61" alt=""><figcaption></figcaption></figure>

The platform documents get sorted as per the selected order. E.g., The following image shows documents sorted by date.

<figure><img src="https://1720975638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQ8HFiIhaFI79yX4ShRsp%2Fuploads%2FHn2pF0gDLvMoupYlNScS%2Fimage.png?alt=media&amp;token=af5a4586-b1e4-4704-a996-2e6d0be04c4f" alt=""><figcaption><p><em><strong>Documents sorted by Dates</strong></em></p></figcaption></figure>
{% endtab %}

{% tab title="Custom Sort" %}
The user can set a customized order for the documents by choosing the **Custom** Order option.

* Choose the **Custom** option.
* The Custom Order window opens.
* Set a customized order for displaying the available documents or folders using the arrows or move-up and move-down icons.&#x20;

&#x20;      ![](https://content.gitbook.com/content/Q8HFiIhaFI79yX4ShRsp/blobs/t869c80xGKVAvn9ptHgG/image.png)

* The records will get shuffled as per the selected order. The chosen order in the given image is moved to the top, therefore the selected document is added to the top position in the list.
* Click the ***Save*** option to save your selected order of display.

&#x20;      ![](https://content.gitbook.com/content/Q8HFiIhaFI79yX4ShRsp/blobs/Rr2cjkFLDn1LPXSqT7LQ/image.png)
{% endtab %}
{% endtabs %}

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*

1. *The platform homepage displays the saved documents as **My Documents** by default.*
2. *A **Search Bar** has been provided on the Platform homepage to search the specific folders and files.*
3. ***Documents** can be sorted in ascending order by default; users need to click on the **Name** option again to sort the documents in descending order.*
4. *The **Sort** functionality is available for **My Documents**, **Shared Documents**, **Public Documents**, and **Favorites** document folders.*
   {% endhint %}
