Tidy.
Wrap Picard SortSam.
Option fix mate information before marking duplicates. Necessary for some malformed BAM files.
Switch to sorting with Picard rather than SAMtools, otherwise FixMateInformation dies.