Each actor can be in several movies, and each movie has several actors. Here, the movies are sortable by dragging and dropping them. Only the movies with Jack Nicholson in the cast are effected.
After sorting, the Order value will be updated. However, to see this, you have to refresh the page.
Note: You may get unpredictable results with this demo if someone else on the web is manipulating the data simultaneously.