Most of this attributes are generated by the jQuery-tablesorter too. The following code should suffice (whole table):

```
<table role="grid" id="swid-tags"
                   class="table table-hover table-striped sortable">
                <thead>
                <tr role="row">
                    <th >
                        Packagename
                    </th>
                    <th>
                        Version
                    </th>
                    <th>
                        Unique ID
                    </th>

                    <th>
                        First reported
                    </th>
                </tr>
                </thead>
                <tbody id="tags-table-body">
                {% for tag in current_session.tag_set.all %}
                    <tr>
                        <td>{{ tag.package_name }}</td>
                        <td>{{ tag.version }}</td>
                        <td title="{{ tag.unique_id }}">{{ tag.unique_id }}</td>
                        <td>Not known yet</td>
                    </tr>
                {% endfor %}
                </tbody>
            </table>
```