Forum Academy Marketplace Showcase Pricing Features

Sorting the output of my repeating group

Hello bubblers. I am trying to sort my RG output but no luck yet. I have a User table with a field favourite. The field “favourite” is a list of product field type. I have a RG that shows the user’s favourite products. Now the problem is when a user add a new product as his favourite, it shows at the bottom of the RG. I want the recently added favourite to be on top of the RG instead. Is there a way to achieve.

I have tried list shift @keith but can not get it to work with my scenario.

This is solved. Thanks everyone. I was selecting the wrong data type.