How I order behavior IDublinCore in Dexterity Type?
<p>I'm writing a product using Python Dexterity Type, and I have <code>Title</code> and <code>Description</code>, this fields come from a behavior <code>plone.app.dexterity.behaviors.metadata.IDublinCore</code>, but I neeed reorder this fields with my fields.</p>

<p>Example:</p>

<p>My fields: document, collage, age, biography</p>

<p>IDublinCore: Title, Description</p>

<p>The order: collage, Title, document, age, biography, Description</p>

<p>How I Do it?</p>

<p>Since you got your own Dexterity Type you can handle with <code>form directives</code> aka <code>setting taggedValues</code> on the interface.</p>

<pre><code>from plone.autoform import directives


class IYourSchema(model.Schema):

    directives.order_before(collage='IDublinCore.title')
    collage = schema.TextLine(
        title=u'Collage',
    )
</code></pre>

<p>You find excellent documentation about this feature in the plone documentation  <a href="http://docs.plone.org/external/plone.app.dexterity/docs/reference/form-schema-hints.html#appearance-related-directives" rel="nofollow">http://docs.plone.org/external/plone.app.dexterity/docs/reference/form-schema-hints.html#appearance-related-directives</a></p>

python plone zope dexterity plone-4.x