# Lists. Need a bit of help

**URL:** <https://discourse.nodered.org/t/lists-need-a-bit-of-help/14157>\
**Category:** General\
**Created:** [8 August 2019 21:30 UTC](https://discourse.nodered.org/t/lists-need-a-bit-of-help/14157 "2019-08-08T21:30:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [9 August 2019 21:35 UTC](https://discourse.nodered.org/t/lists-need-a-bit-of-help/14157/5 "2019-08-09T21:35:37Z")

</div>

Thanks.

Ok, bit more information for you.

I get that the names in the file are _confusing_ for sorting.  
It isn't I want to sort them. That isn't needed. The lines are added in time order to the file.

I tried it with `tac` rather than `cat` and though it works...... Because the list on the screen is limited in size: the latest events are pushed off the top of the list by the older ones at the bottom, which isn't desirable.

So basically they are sorted.

But when I put them into that flow, the bottom is the newest and . . . (I've already said that. Oops.)

Looking at you suggesting (I believe) the `array.prototype.reverse()` option.  
I don't know how/where to add it. I need a bit more of a hint.

I'm guessing in the `template` node, but......

---

_[View the full topic](https://discourse.nodered.org/t/lists-need-a-bit-of-help/14157)._
