You don't need asterisk feature, 'cause you can use keys from array:
$this->widget('application.widgets.GridView', array(
'dataProvider'=>new CArrayDataProvider($offers,array(
'sort'=>array(
'attributes'=> array_keys($offers[0]),
),
...