Output tuning

Prior to this commit we did not sort the params and thus
diffs seem to change even when they had not in fact