I can not sort the array by date

So what I did is to convert the collection to an array since I believe sorting is only possible for arrays. I used Array Aggregators then Set Variable, however, I tried many possible ways to sort it asc or desc but it won’t work. Please let me know what mistake I made. Thank you!



1 Like

I’m having this same issue. Sort is not working on date no matter what format it is in.

1 Like

Hi @Kristhel_Simon

Ensure the variable is date. if it’s string them you have to convert into Date and then sort.

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation

1 Like