{% for datum in ctx|sort(attribute="process,pid,hwnd") %} {{ datum.hwnd }} {{ datum.title }} {{ datum.pid }} {{ datum.process }} {% endfor %}