Sort JSON before deriving SHA.