title: ordering an array of object with twig
body: <p>I need to order a list of objects i receive with an inner property.</p>
  
  <pre><code>I receive a list of objects like that :
  { match: "italy - germany", date: "27/01/2019", competion: "World cup" }
  { match: "lille - paris", date: "23/01/2019", competion: "coupe de france" }
  { match: "om - psg", date: "13/01/2019", competion: "coupe de france" }
  { match: "russia - poland", date: "25/01/2019", competion: "World cup" }
  </code></pre>
  
  <p>I don't know where to start but i need to loop over matches:
      {% for match in matches %}</p>
  
  <p>I want to obtain this list:</p>
  
  <p>coupe de france :</p>
  
  <ul>
  <li>om - psg</li>
  <li>lille -paris</li>
  </ul>
  
  <p>world cup :</p>
  
  <ul>
  <li>italy germany</li>
  <li>russia - poland</li>
  </ul>