get sortable working on templates
add stupidtable js for sorting