Is there a way to specify the sort direction in the getRelatedListRecords
wire adapter?
The Docs give the following example:
@wire(getRelatedListRecords, {
parentRecordId: '001RM000003UNu6YAG',
relatedListId: 'Contacts',
fields: ['Contact.Name','Contact.Id'],
sortBy: ['Contact.Name']
})
But there's no documentation on how to define the sortBy
as ASC or DESC.