I have a flow where from each unread email I want to extract a number and a date, that I will use later as variables.
I don't know if it's just my problem, but the "Retrieve email messages from Outlook" action, brings incoming emails in a random order.
I tried to extract the number and the date into a "data table", but ... surprise, you can't sort data in a data table. I can sort a list but I have two values, a ​​number and a date which represent two separate variables.
In conclusion the problem can be solved by having an answer to one of this three problems:
- How can I sort the emails brought by the "Retrieve email messages from Outlook" action, or
- How can i sort values in a data table, or
- Can i sort a list with number and date values and use later as two separate variables?