# Table Sortability?

**URL:** <https://forum.wixstudio.com/t/table-sortability/37124>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [September 11, 2020, 8:23am UTC](https://forum.wixstudio.com/t/table-sortability/37124 "2020-09-11T08:23:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chetanmalhotra789](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@chetanmalhotra789](https://forum.wixstudio.com/u/chetanmalhotra789)\
**Post date:** [September 11, 2020, 8:23am UTC](https://forum.wixstudio.com/t/table-sortability/37124/1 "2020-09-11T08:23:32Z")

</div>

Can the table element on user input fields by any means be sortable by users when rendered on the website for them at this time?

[https://192168o1.com.br/](https://192168o1.com.br/)  
[https://19216801login.com.br/](https://19216801login.com.br/)  
[https://logintplink.com.br/](https://logintplink.com.br/)

---

<div class="post-metadata">

**Author:** ![talyaro](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/talyaro/32/5746_2.png) [@talyaro](https://forum.wixstudio.com/u/talyaro)\
**Post date:** [September 14, 2020, 9:36am UTC](https://forum.wixstudio.com/t/table-sortability/37124/2 "2020-09-14T09:36:16Z")

</div>

Hey,  
I’m not sure what you mean by “on user input fields” but you can sort the data in a table if the table is populated with data from a database collection. Use the [setSort()](https://www.wix.com/corvid/reference/wix-dataset/dataset/setsort) function to apply a sort to the [dataset](https://support.wix.com/en/article/about-datasets-6368396) connecting the collection data to the table.
