<!DOCTYPE html> <html> <head> <title>JS Sortable Table</title> <!-- (A) JS + CSS --> <link rel="stylesheet" href="sortable.css"> <script src="sortable.js"></script> </head> <body> <!-- (B) EMPTY TABLE --> <table id="demoB"></table> <!-- (C) INITIALIZE --> <script> sortable(document.getElementById("demoB"), { ID : [44, 11, 7, 5, 2], Name : ["John Doe", "Jane Doe", "Aaron Doe", "Zoe Doe", "Derrick Doe"], Color : ["Red", "Green", "Blue", "White", "Red"] }); </script> </body> </html>