In-place sorting of comparison SAM (base_mapping derived cases)