Drag and Drop with jQuery in Rails 6

Feature thumb jqueryui

The code is below:

require("@rails/ujs").start()
require("turbolinks").start()
require("@rails/activestorage").start()
require("channels")
 
require("jquery")
require("jquery-ui")
 
$(function(){
  $('.sortable').sortable();
});

Along with these helpful links: