I am working on a use case where recipient schema will have 1-N cardinality with a custom schema called articles where all the articles a recipient is eligible to receive is stored.
In delivery template, i am looping through the collection link between the two schemas and displaying the article content.
Now, the issue i am facing is, the sort order of the articles is not fetched in the order the articles are inserted into the articles schema, but in the reverse order(descending sort). The same issue persists when i use a enrichment in the workflow as well. Please refer screenshot below.
Any inputs on why the linked schema is fetched in descending sort would be highly appreciated.
Note: i have tried with different sequence start values(-2.14b, 0) in the linked schema, but the result is same.