title: How do I order dict by iterating list of uuids in django template language?
body: <p>I'm trying to order a dict by using a list containing the order uuids in django - how would I template this out?</p>
  
  <p><code>order = ['uuid1', 'uuid2']</code></p>
  
  <pre><code>data = {
  u'uuid1': {
      u'checked': False,
      u'deleted': False,
      u'last_change': u'2014-12-25 09:15:22.155000',
      u'text': u'Test.'
    },
  u'uuid2': {
      u'checked': False,
      u'deleted': False,
      u'last_change': u'2014-12-25 09:15:22.155000',
      u'text': u'Test'
    }
  }
  </code></pre>
  
  <p>How do I template this out?</p>
  
  <pre><code>{% for uuid in order %}
    {% for key, value in data|getkey:{{uuid}} %}
      {{ key }}
      {{ value.deleted }}
      {{ value.last_change }}
    {% endfor %}
  {% endfor %}
  </code></pre>
  
  <p>Thanks! </p>