Please disregard. I found a fix after thinking about what @paweld did to fix the other issue.
//clear IndexfieldNames definition
CSVDataset1.IndexFieldNames := '';
This fixed the sort column header click problem. Now have to work on the filter issue..