Marko, I downloaded TopGrid's Eval. copy and in their example (sorting.dpr) that's exactly what they do, re-execute the query with the new sort order. I think the only way to do it is with a ClientDataSet, but I haven't been able to get all the field types just right so that DataSetProvider...