better soln for issue #73: partial sorting for all processed files