Is there any to return what rank in a list something is in during a sort using jquery? Essentially, I want to do what thousands of others are doing (and I've searched thoroughly on stackoverflow) and have a database update from a sortable.
Each item in the database has a "Position" property - initially set to 0. The ul is populated and drawn out, and I want to route back to the controller when it is updated and store their positions in the list.
I am using ASP.NET MVC/C# as my code base - but I am having trouble finding full examples of this.