How to get sorted column name

Is is possible to get somehow from the dataprovider the (active) sort column name? Thanks.

http://www.yiiframework.com/doc-2.0/yii-data-basedataprovider.html#$sort-detail ?

Perhaps, do you know the field name? It’s not documented.