title: How do you sort a list in Jinja2?
body: <p>I am trying to do this:</p>
  
  <pre><code> {% for movie in movie_list | sort(movie.rating) %}
  </code></pre>
  
  <p>But that's not right...the documentation is vague...how do you do this in Jinja2?</p>