def to_element(change):
    """
    @param change: An L{txaws.route53.interface.IRRSetChange} provider.

    @return: The L{twisted.web.template} element which describes this
        change.
    """
    return tags.Change(
        tags.Action(
            change.action,
        ),
        tags.ResourceRecordSet(
            tags.Name(
                unicode(change.rrset.label),
            ),
            tags.Type(
                change.rrset.type,
            ),
            tags.TTL(
                u"{}".format(change.rrset.ttl),
            ),
            tags.ResourceRecords(list(
                tags.ResourceRecord(tags.Value(rr.to_text()))
                for rr
                in sorted(change.rrset.records)
            ))
        ),
    )
@param change: An L{txaws.route53.interface.IRRSetChange} provider.

    @return: The L{twisted.web.template} element which describes this
        change.