I\'m trying to sort an li elements and get an unexpacted result I need to sort it three times to get it correctly,
li
where have I mistaken? javascript
Use my jquery plugin Sort Content :
$('ol#table1').sortContent({asc:true})
That's it!
DEMO : http://jsfiddle.net/abdennour/SjWXU/