Sort for creation time and filter

I want to create a workflow that checks a folder for files, sorts them by creation time, filter those out that are older then my generated timestamp variable and stop the process when it finds the first file that is older than the timestamp. I have a general idea how to do it but i have a problem with finding the right function to sort the files and save the creation time for each file so i can compare it to my timestamp. Any idea how to do this?

Thank you

This should be enough for your requirements:

SortByCreation.xaml (13.4 KB)

This workflow analyses the creation dates for a specified folder. Once compiled, it is filtered by a given threshold date and sorted in descending order by creation date. A CSV of the final list is the output.