Hello all...

I'd thought I'd attempt to implement some sorting algorithms for my tree... and noticed a virtual function in QAbstractItemModel that handles sorting (which does nothing if not re-implemented). I went ahead and re-implemented that function... and found that it doesn't seem to get activated when I click on a heading.

I'm not positive that Qt by default does sorting when you click on a heading, so my first question is how to make that happen.

If it does, what else do I need to look at to enable sorting?

Thanks