Sortable Lists with jQuery UI — a practical guide to jQuery UI sortable with clear examples you can reuse in real projects.
jQuery Tutorial Series (89/101). Prefer one article? Read the complete jQuery tutorial.
Short description
Persist the order array to your backend.
sortable
$('#tasks').sortable({
update: function () {
var order = $(this).sortable('toArray');
$.post('/api/tasks/order', { order: order });
}
});