ified,
            stop: updateIndex,
            start: function (event, ui) {
                ui.item.startPos = ui.item.index();
                ui.item.id = ui.item.id;
            },
            update: function (event, ui) {
                ui.item.id = ui.item.attr("id");
            }
        }).disableSelection();
        /* end sotbales */

    </script>
{% endblock %}