working sortable table in _list_detail.html