Sort HTML Tables and List using W3.js Easily| No Javascript

Hey guys, so many of you know that there is some point in the project where have to add filter and sort functionality in the script to add more flexibility to the user in UI. Generally, we filter and sort Tables/List writing complex Javascript codes, but today I am going to show you how you can do that by adding 1 HTML onclick function and without writing a single line of javascript code.