{% if result %}
<link rel="stylesheet" type="text/css" href="/static/css/tablesorter.css" />
<script type="text/javascript" src="/static/js/jquery.tablesorter.js"></script>
<table border="0" id="result-{{object.id}}" class="tablesorter">
    <caption>{{object.name}} ({{object.address}}) Licensies</caption>
    <thead>
        <tr><th>Key</th><th>Value</th></tr>
    </thead>
    <tbody>
        {% for k, v in result.items %}
            <tr class="{%cycle 'row1' 'row2'%}">
                <td>{{k}}</td>
                <td>{{v}}</td>
            </tr>
        {% endfor %}
    </tbody>
</table>
<script>
$(document).ready(function() { 
    $("#result-{{object.id}}").tablesorter();
});
</script>
{% else %}
No data!!!
{% endif %}