BCGControlBar Pro for MFC
void CBCGPListCtrl::EnableSorting ( BOOL  bEnable = TRUE)

Specifies whether column sorting is enabled.

Parameters
bEnableTRUE to enable column sorting, FALSE to disable.