# Make Power Tables Sort by Time Stamp

**URL:** <https://forum.inductiveautomation.com/t/make-power-tables-sort-by-time-stamp/16271>\
**Category:** Ignition\
**Tags:** ignition78, ignition77, ignition79, ignition80\
**Created:** [December 9, 2017, 12:48am UTC](https://forum.inductiveautomation.com/t/make-power-tables-sort-by-time-stamp/16271 "2017-12-09T00:48:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![danewilbanks1](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@danewilbanks1](https://forum.inductiveautomation.com/u/danewilbanks1)\
**Post date:** [December 9, 2017, 12:48am UTC](https://forum.inductiveautomation.com/t/make-power-tables-sort-by-time-stamp/16271/1 "2017-12-09T00:48:43Z")

</div>

I think I’ve tried everything here, however I can’t get my data to sort from an ascending value, instead of descending.  
IE I want the newest data in the table first, not vice versa.  
I’d love some insight on this, thanks in advance.

---

<div class="post-metadata">

**Author:** ![jordanv](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jordanv](https://forum.inductiveautomation.com/u/jordanv)\
**Post date:** [December 9, 2017, 1:07am UTC](https://forum.inductiveautomation.com/t/make-power-tables-sort-by-time-stamp/16271/2 "2017-12-09T01:07:11Z")

</div>

How are you getting the data into the table? If it is a query binding you can add an ORDER BY timestamp ASC to the end of it.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 9, 2017, 1:32am UTC](https://forum.inductiveautomation.com/t/make-power-tables-sort-by-time-stamp/16271/3 "2017-12-09T01:32:40Z")

</div>

Well, newest data first would be ORDER BY t\_stamp DESC, not ascending.

---

<div class="post-metadata">

**Author:** ![danewilbanks1](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@danewilbanks1](https://forum.inductiveautomation.com/u/danewilbanks1)\
**Post date:** [December 11, 2017, 5:50pm UTC](https://forum.inductiveautomation.com/t/make-power-tables-sort-by-time-stamp/16271/5 "2017-12-11T17:50:49Z")

</div>

Thanks to the both of you!!

---

<div class="post-metadata">

**Author:** ![danewilbanks1](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@danewilbanks1](https://forum.inductiveautomation.com/u/danewilbanks1)\
**Post date:** [December 11, 2017, 5:51pm UTC](https://forum.inductiveautomation.com/t/make-power-tables-sort-by-time-stamp/16271/6 "2017-12-11T17:51:02Z")

</div>

Thanks to the both of you!
