Sorting the output, adding a little code to carry along the names.

Next up is using a real VCF loading library.