I wonder if it's better to interleave the results so they're just sorted together by line number?