Change format for mm
Distinguish unordered matrices. Separate ordering and compression.