# vSort v1.2.2 vSort is a simple jQuery plugin for making lists sortable with a handle * less than 1.6kB including css * Tested in IE8, FireFox, Chrome, Touch enabled for mobiles * Restrictive sort, aka selected elements not crossing each other (v1.2) * Touch-enabled for mobile (v 1.1) * Nested sorting within lists, callback function on successful sort (v 1.0) * [Live Demo](http://code.mgvz.com/vSort/) [Screenshot](http://code.mgvz.com/vSort/) To include vSort plugin ```html ``` To run a javascript code after sorting is done ```html data-callback="alert('list order modified')" ``` Sample code ```html
111111
111111
I am alpha
I don't cross beta
Try
333333
333333
333333
333333
Yep - I don't cross Yo
Yes
I am beta
I also don't cross alhpa
Its obvious ;)
Yo - I don't cross Yep
``` To update vSort-lists after new items are added to sort container ```javascript $().vSort(); ```