fixing sorting and re-ordering of questions in index, conflict between datatable and tablednd