Sorting infrasturctre

Add sorting icons to th
Donot look through to generate td code in php use Angular instead
Add various sorting apis