I am working on rails. In one of my views I need to create a list that can be sorted by drag and drop way. I have found this way on google. But in that tutorial they used
An ActiveRecord plugin for managing lists. http://swanandp.github.io/acts_as_list/
I have create drag and drop table using the gem
jquery-ui-rails. here you can find more info
check it here Thank you.