Hi there,
I have this scenario where I have this gallery, how do I display the data in descending order? (newest to oldest) by ID?

Hi there,
I have this scenario where I have this gallery, how do I display the data in descending order? (newest to oldest) by ID?
Hi @Joaoandrebs,
You could wrap a Sort() function around your filter() functions: Sort(Filter(...YourCode...); idFieldName; Descending).
Change idFieldName to the actual name of the ID column.
Additionally, you could remove the if statement and extend your filter() to reduce the code within your items property. Would it be possible to copy-paste your code as a comment, so I could assist you further?
If this solves your question, would you be so kind as to accept it as a solution.
Thanks!