How do I determine the sort fields on a TTMSFNCDataGrid

Hello,

In a Web Core application I have a TXDataWebDataSet connected to a TWebDataSource, which in turn is connected to a TTMSFNCDataGridDatabaseAdapter that is ocnnected to a TTMSFNCDataGrid.

The TXDataWebDataSet is loaded and then disconnected from the source.

The TTMSFNCDataGrid allows for column sorting by the user by clicking on the headers.

My question is, how do I determine if the gris is currently sorted and what datafield is it sorted by?

Thnaks,

Alan