I have a list like this:
<li> <input value="1" name="bla[]" /> </li>
<li> <input value="2" name="bla[]" /> </li>
<li> <input value="3" name="bla[]" /> </li>
(always the same order)
and a array like this
array('3', '1', '2');
but the order of the values in the array can change anytime. Can the list above be sorted with jQuery based on the array order?