# Preview and sorting

### File preview

<figure><img src="https://1813203282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOddm4yDredA8gF0g7cDm%2Fuploads%2FQFTbqaEBRTpZWii5Iihv%2FFile%20preview.png?alt=media&#x26;token=7d3b5ca5-17bb-46c2-bc82-e4b3a4a1eeaa" alt="" width="375"><figcaption></figcaption></figure>

The gallery supports 3 types of file previews:

* Icon - Display a thumbnail of the file's content
* Large icon - Like icon but the thumbnail is bigger
* List - It doesn't show the thumbnail, files are displayed in a vertical list

### File sorting

<figure><img src="https://1813203282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOddm4yDredA8gF0g7cDm%2Fuploads%2FjQSDTfcxtefJCG3WCMBM%2FFile%20sorting.png?alt=media&#x26;token=233af85c-51e6-413b-805c-ebcd53daa905" alt="" width="295"><figcaption></figcaption></figure>

We can sort the files in the gallery by the files' names, modification date, or file size. We can also select the order to be ascending or descending.
