# Tag History Chart Newest First Transfomation

**URL:** <https://forum.inductiveautomation.com/t/tag-history-chart-newest-first-transfomation/85764>\
**Category:** Ignition\
**Created:** [February 15, 2024, 3:34pm UTC](https://forum.inductiveautomation.com/t/tag-history-chart-newest-first-transfomation/85764 "2024-02-15T15:34:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gfeiten](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@gfeiten](https://forum.inductiveautomation.com/u/gfeiten)\
**Post date:** [February 15, 2024, 3:34pm UTC](https://forum.inductiveautomation.com/t/tag-history-chart-newest-first-transfomation/85764/1 "2024-02-15T15:34:51Z")

</div>

I'm trying to create a chart of tag history with newest entries first.  
I'm using a script transform using system.dataset.sort (guessing on syntax from user manual)

return system.dataset.sort(value,'t\_stamp'[,descending])

could someone help with the correct syntax?

Thanks!

---

<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:** [February 15, 2024, 3:37pm UTC](https://forum.inductiveautomation.com/t/tag-history-chart-newest-first-transfomation/85764/2 "2024-02-15T15:37:31Z")

</div>

That will break Ignition's time series charts, everywhere I've seen.

---

<div class="post-metadata">

**Author:** ![gfeiten](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@gfeiten](https://forum.inductiveautomation.com/u/gfeiten)\
**Post date:** [February 15, 2024, 6:02pm UTC](https://forum.inductiveautomation.com/t/tag-history-chart-newest-first-transfomation/85764/3 "2024-02-15T18:02:04Z")

</div>

I misspoke, I am binding a perspective table to tag history ( not a chart ).

Thanks!
