I'm a bit new to Sortable JS, I'm able to render a list of items along with drag and change the element position. But I'm trying to move the element to last index position when the user clicks on a button that is there for each row in the list. Can anyone let me know how can this be done (or) any example on how to update the sort order will help dynamically.
Here is what I looked (example)for an example, but could not get what I was looking for.
Thanks in advance.