BCGSuite for MFC
BOOL CBCGPDBGridCtrl::IsDbSort ( ) const
inline

Tells whether the grid control is sorted using SORT query.

Returns
Should return TRUE if the grid control is sorted using database SORT query; otherwise FALSE.

Override this method in a derived class and return TRUE, if you want to sort the grid control using SORT query. You should return FALSE, if the grid control is sorted using any other sorting algorithm.