Sorting flow instances by date