Rewrite the filtered log creation

Instead of processing each log matcher one by one, and thus processing
the logs serially, the new code processes the logs in parallel, thus
it's not needed to sort the result when finished.