made tables sortable