Subject IB-Grid ordering

Is there a way to make ordering in a query in more than a field? Same
question for the IB-Grid.

That is I have field1, field2, field3, field4 ... fieldn and I like to be
able to let the user choose the ordering, so she can choose ordering on
field2+field1+fiend10 for example.

Best regards,

Antoni Aloy Lopez
IT Viajes Astral S.A.
Tel. +034 971221097
Fax. +034 971288295
Member of MyTravel Group