How to sort records in recordlist variable?

How to sort records in recordlist variable?

  

Hello,

I have created recordlist by appending records.

Now I am giving that recordlist variable as source source to TableRecords widget. But at the time of displaying records, I want to sort by default descending order of created date.

How do I achieve this?

Please advice.

Thanks and Regards,

Suraj Borade

Solution

Hi Suraj,

there is a component available in forge Sort Record List , i think this will help you achieve what you want.


Regards

-PJ-

Solution

Thanks Pramod

Hi Suraj,
Please mark ait as solution if it what you want ..This will help other also.



Regards

-PJ-

The problem with this solution is that it expects an Object, not a record list. If you have multiple entities in your recordset (i.e., customers and orders), I think it will lose the record definitions if made an object. Is this correct?

thanks,

Stephanie