more cleanup:
write modified sam as a stream to sorted bam