> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/bdb-documentation/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/bdb-documentation/core-platform/getting-started/homepage/sorting-documents.md).

# Sorting 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 By*** icon on the platform homepage.

&#x20;      ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FkSesng6KVn1jsU7DVnJf%2Fimage.png?alt=media\&token=be023d00-2e31-4463-9a20-d1d28bd64f88)

* A context menu opens with the following sorting options:

{% tabs %}
{% tab title="Name" %} <img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FkH1qax6Rkxm5E8YPA6r7%2Fimage.png?alt=media&amp;token=01dba2ec-1fc5-40b6-8b5f-e82b3ab507f7" 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" %}
&#x20; <img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FcQCA3GorNZvK4KOZTmDn%2Fimage.png?alt=media&amp;token=1707dcb8-1a8b-4ee4-9348-b8dd29ae1517" alt="" data-size="line">You can sort documents by data using this option (Ascending is the default order).
{% endtab %}

{% tab title="Custom" %} <img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FyCUSE383Hj4cbB7XfUAw%2Fimage.png?alt=media&amp;token=700f561c-8306-44db-80f6-f9b1dfb75173" alt="" data-size="line">You can manually drag and change the order of documents.
{% endtab %}

{% tab title="None" %}
&#x20;<img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FRMyinuTGvQdQMiEVnuKP%2Fimage.png?alt=media&amp;token=393d8571-4380-4a1e-8afc-731999a7c630" alt="" data-size="line">You can remove the impact of the applied **Sort by** option by selecting the **None** option.
{% endtab %}
{% endtabs %}

<details>

<summary>How to apply a sorting option to the documents?</summary>

Select an option from the context menu. E.g., The Date option is selected in the following image:&#x20;

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2F18PZXGZ1oVVMwfyjvMw4%2Fimage.png?alt=media\&token=b3ba1650-9779-4fed-9fc1-6e8e28d4b3ce)

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

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2F4LqaOgn4sf5es34vIzZD%2Fimage.png?alt=media\&token=c83283de-7449-4355-a04c-993b20ee5d3c)

</details>

<details>

<summary>Custom Sort</summary>

* The user can set a customized order of the document by choosing the **Custom** order option.
* By selecting the **Custom** option, the user gets directed to a new window.
* Set a customized order of displaying the available documents or folders by using the given arrows.

&#x20;     ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FkwIMWEcUWhYUysRp8CmT%2Fimage.png?alt=media\&token=78e6685f-1792-4d5f-a283-bead23d84550)

* The records will get shuffled as per the selected order.
* Click the **Save** option to save your selected order of display.

&#x20;     ![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FzSBdIy6FSEnljReFFPq1%2Fimage.png?alt=media\&token=56491bb2-5aa4-475c-81b3-aae26b8ee9bf)

</details>

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

1. *The platform homepage displays the saved documents as **My Documents** by default.*&#x20;
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.*
   {% endhint %}
