An absolutely common sortable case:
Item
The sort function callback does the same for sort as drag for draggable (demo):
sort
$("#sortable").sortable({ sort: function() { if ($(this).hasClass("cancel")) { $(this).sortable("cancel"); } } });