updated test
update outfile name
added sort contigs by length