# How to sort the data displayed by UI\_Tablet by the value of a column?

**URL:** <https://discourse.nodered.org/t/how-to-sort-the-data-displayed-by-ui-tablet-by-the-value-of-a-column/50664>\
**Category:** Dashboard\
**Created:** [6 September 2021 09:36 UTC](https://discourse.nodered.org/t/how-to-sort-the-data-displayed-by-ui-tablet-by-the-value-of-a-column/50664 "2021-09-06T09:36:45Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [6 September 2021 12:31 UTC](https://discourse.nodered.org/t/how-to-sort-the-data-displayed-by-ui-tablet-by-the-value-of-a-column/50664/3 "2021-09-06T12:31:27Z")

</div>

You can send sorted data to ui-table.  
But if you like to use the sorting feature in the column headers you have to dig in deeper:

> [@Ui-table date sort](https://discourse.nodered.org/t/ui-table-date-sort/21685):
>
> Anyone know of a neat trick to get a ui-table to do sorting by date, rather than standard numeric sort? Thanks

This should give you a starting point

You have to use an inject node to send a message on start with the config json in `msg.ui_control`. The `field` Parameter has to match your property definition (`timestamp`). You only have to send the parameters you like to change. (More information in the examples)

---

_[View the full topic](https://discourse.nodered.org/t/how-to-sort-the-data-displayed-by-ui-tablet-by-the-value-of-a-column/50664)._
