making a table sortable

How do I make a simple table sortable?

I have tried to add "sortable" to "table class" (as suggested on a couple of websites) but nothing happens in preview. I'm assuming I need to add some CSS and/or JS to make this work? Or is there a simpler way? Thank you!

You will need scripts to run something like that, it's not something that is default in the files.

Try this...