Sort by a known distinguishing characteristic.

import_date is sometimes identical and segment_id always is.
The idea in the test was to see that the correct instdata were created by looking up the md5s. An acceptable solution is to get the instdata via the md5s and and make sure the original_data_path matches the bams passed in. Then use the instdata from the command, as they will be created in order of the bam files specified to determine the correct attrs/metrics.