I have a table which is loading in AJAX, all the data are coming from server side when I click a button from client side. Now I need a sorting functionality in this html table. I have searched and found 5-6 javascript plugins for sorting, but none of them are working. Some are becoming very slow, and some are showing errors. My html table structure is also bit different. Can anyone please help me out to and provide a good js plugin to implement in my code. I am attaching an image of my table structure.

Basically the table has 2 header rows, I need the sorting functionality over the second header row.
If the image is not clear you can refer to this link. http://awesomescreenshot.com/0b72bfy588