Pre-ordered List example
<tomalec-sortable-list order="4,3,2,0,1">
Please note that
order
is a sequence of elements' order. So the key is index from HTML, and value is CSS order - position on screen.
zero
one
two
three
four
Other examples
Basic one
Plain
Nested
Dynamic add nodes
Sortable
<body>
With Bootstrap