def _format_properties(props):
    tokens = []
    for (k, v) in sorted(props.items()):
        tokens.append("  '{}'='{}'".format(k, v))
    return '(\n{}\n)'.format(',\n'.join(tokens))
def _format_properties(props):
    tokens = []
    for (k, v) in sorted(props.items()):
        tokens.append("  '{}'='{}'".format(k, v))
    return '(\n{}\n)'.format(',\n'.join(tokens))