'Sort suds object attributes based on ordering defined
in the XSD type information.
@param content: The content to sort.
@type content: L{Object}
@return: self
@rtype: L{Typed}'

def sort(self, content):

    v = content.value
    if isinstance(v, Object):
        md = v.__metadata__
        md.ordering = self.ordering(content.real)
    return self
