Sorting Tables with W3.js

Click the table headers to sort the table accordingly:

Country Capital
India New Delhi
China Beijing
Morocco Rabat
Algeria Algiers
United Kingdom London
France Paris
Zimbabwe Harare

Sorting List with W3.JS