Drag Sorting

Using Alpine's Sort Plugin

7:54 · By Caleb Porzio

Level up. Big time.

Instant access to over 8 hours of content. Explore tons of course code and use it in your own apps.

Yearly

$69 /yearly

Access all screencasts and source code by subscribing on a yearly basis.

Lifetime

$149

Pay once, and get access to all future screencasting content. Forever.

Already a GitHub sponsor? Email us for a discount.

Making DOM elements sortable on the front-end is trivial with Alpine's Sort plugin (a wrapper for SortableJS). Let's pull that in and wire it up to our todo list so we can drag items around to re-order them.

Share