> For the complete documentation index, see [llms.txt](https://endash-guidance-docs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://endash-guidance-docs.gitbook.io/docs/dashboard/widget-types/gallery/gallery-sort.md).

# Gallery - Sort

<figure><img src="https://1608311007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSr8m3Ldc2W7Qqq1jsjgC%2Fuploads%2FIZlzlnws59yjYHmX3KaV%2Fimage.png?alt=media&amp;token=18868dbe-6e6e-45b7-b1d5-366106787a65" alt=""><figcaption></figcaption></figure>

* Similar to the [Table - Sort](/docs/dashboard/widget-types/table/table-sort.md#add-a-sort), you can set up a filter in the Gallery to display your desired metric.

{% hint style="info" %}
In [Grouping](/docs/dashboard/widget-types/gallery/gallery-grouping.md) mode, only **grouped field(s)** and **aggregated field(s)** can be sorted.
{% endhint %}
