How to sort results of CRM API response

How to sort results of CRM API response

I'm requesting records from CRM API inside a custom Creator Page using code like this:


I need the records to be listed in DESC ID order. So the most recently entered record will show up first in the list.

How can I accomplish this as the searchRecords method does not seem to support sorting.