StdCurCompSort event
Occurs when the user double-clicks the grid column header.
Remarks
The users can attach event handlers to this event and use form scripting to customize and override the client-side sorting of any collection. The default sorting is bypassed if any of the event handlers have non-zero return code.