Table Sorting Javascript Doesn't Work In Advanced Search

[color=#282828][font=arial, verdana, tahoma, sans-serif]Basically I want to sorting the product table return by advanced search, the product table have custom column generated in run time so I don't think the cs cart default search will work.[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]So I try to use table sort javascript to do the job. There are lots of example online. You just need put[/font][/color]

[color=#282828][font=arial, verdana, tahoma, sans-serif] and [/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]They all test good in simple HTML. But when I put it into cs-cart, it won't work. Of course, I refresh the cache and can see the new code in the browser debugger.[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]Please help! Thanks.[/font][/color]





[color=#282828][font=arial, verdana, tahoma, sans-serif]David [/font][/color]