want to implement a function of dragging and dynamically changing columns
 now that drag and drop is implemented in draggable, the array of header columns will change as you drag. 
 but the phenomenon is that the columns of table do not change with each other 
table header code is as follows:
 
:
 

