Clickable column headings?

I've been successfully using a modified version of EZResults with Firebird 1.5 SQL database, and its working great. The only problem is that it seems to be missing a key feature and that is the ability to sort a result set by clicking on a column heading.

My problem is that our website has to compete with a lot of ASP.NET sites out there that seem to have datagrids and things like this available out of the box and I have to make EZResults look kick ass to make sure I have happy customers. This is a crucial feature, and before I attempt to delve into the code and do it myself, I saw that some people have posted about this in the forums and I wanted to know if anyone has any code to share or examples, etc. that could help.

Thanks in advance for any assistance.

Myles