adds an optional filter to the algorithm's date_sorted_sources