Canonicalize the notepad object so the property names are sorted alphabetically in the output.