Fix ordering of output from compose so it is ordered by abs(x.scale) (more meaningful than ordering by the string sort).
Fix LaTeX spacing of unit format output