refactor(Order/Extension): use OrderHom (#9232) Redefine toLinearExtension as an OrderHom.
OrderHom
toLinearExtension