I’m building a table in a PDF and inserting rows using collected data. I’d like to sort the table rows in ascending order — from oldest to newest — based on a date field. I’m not sure if that’s possible… Can anyone help?
I do something similar in my calc field. You can put all data into an array and sort it.
Here’s my code that is doing it.
allEntries.sort((a, b) => a.date - b.date);
3 Likes
Oh you have a better answer.
1 Like
Oh my god I’m embarrassed for even asking when there was an action for this all the time!!! hahahaha thank youuuu
1 Like