Changing from gawk | sort | gawk to perl flattening, then sorting.
Changing from gawk | sort | gawk to perl flattening, then sorting.

There is definitely a bug if the two paired files aren't identical.

juliema/aTRAM