Well, this seems a little tricky (if not imposible). I'm tryin to make my DBGrid sort its data by clicking on column's title.
The thing is that I'm (sadly) working with Delphi3, I'm not using ADO DataSets and the query gets a lot of rows, thus I can't reopen my TQuery changing the "order by" clause on clicks.
Someone has implemented something like this?