Compare Alignment sort order using htslib rules.
compare_reads.
compare_sort
Compare sort order for a or b, where a and b can be pysam.AlignedSegment instances or readname strings.