In the previous article we saw how the sortable method allows the sorting of a list of items through dragging. We just saw a visual implementation though. But if we want the sorting to be lasting, hence it remains the same even if we reload the page, we will have to go the extra mile. In the practical case, we will extract the items from a table of the database in which we will save the id, the item name and the item order. The change of order has then to be intercepted and sent by means of an asynchronous call to a file that will take care of updating the database. As you can see by the example, if you change the order, it will remain unaltered even by reloading the page (unless there is another user that is using the example) since it is saved in the database as it will be illustrated in this article.