sorting a list in microflow

2
if I have a list in a microfolw and I want to sort it to fetch the maximum five records for a field, how can i do this?
asked
1 answers
2

First sort it (can be done in the retrieve action or as separate activity), then loop with a new counter variable and add the first 5 items to a new list.

answered