[SOLVED] Can we sort data without a dataset?

Hello, I am making a table manually, and my ROW values are auto populated base on my forEach statement. I cant make it using dataset because all of my website download activities are saved only to 1 collection ( downloads ).

So I am using wixData.aggregate to count the similar item on a data collection, and that result count are being set to my table rows using forEach statement.

I wish to sort the result total_Count base on the highest value. But we cant set sort on a table. ONLY a dataset.

consolelog Result:

Result

Here’s my manual table created.

Hope you can help me. Thank you.