Beginning work modifying the conversion to maintain
tree ordering for SED module.