With jQuery I\'m retrieving positions of a sortable list using \'serialize\', like this:
var order = $(\'ul\').sortable(\'serialize\');
The vari
The best way is know to use var order = $('ul').sortable('serialize'); feature is shown in the following link :
http://blog.arnaud-k.fr/2010/09/29/tutorial-jquery-trier-une-liste-en-dragndrop-avec-jqueryui-sortable/
All you need to get the ordered list data in your php file is the code :
foreach( $_POST['id'] as $order => $order_nb )
{
    ...
}