Make sorting stable and by human readable name

This commit is contained in:
liquidat
2020-03-09 17:39:31 +01:00
parent a5a90e4ab0
commit 0013e6d11c

View File

@@ -26,7 +26,7 @@ ansible-playbook playbooks/install_demo.yml -e @choose_demo.yml
<th>Video Walkthrough</th> <th>Video Walkthrough</th>
<th>Workshop Types</th> <th>Workshop Types</th>
</tr> </tr>
{% for key, value in demos.iteritems() %} {% for key, value in demos.items()|sort(attribute='1.name') %}
<tr> <tr>
<td>{{value.name}}</td> <td>{{value.name}}</td>
<td>{{value.author}}</td> <td>{{value.author}}</td>