How to use direct command to sort a result

I would like to ask whether direct command can be use to sort a result.
I have an xml as follows

abc
diff


how can I use direct command
<bdm:directcommand type=“query” schema=“dcs” queryparm=“.~=‘*’” />

to process it?

[This message was edited by Christian Freytag on 26 Jul 2002 at 08:50.]

Hello,

There was a discussion about a ‘sortby’ for the directcommand tag. The result is a contribution from ‘Amit’ who implemented a new verson of this tag with the attribute.

For the discussion, have a look at the following topic
sortby attribute for directcommand

For the download of the extended tag look at
Enhanced Xapplication 3.1.2 directcommand tag

Bye,
Christian.

Hello,

with X-Application 3.1.3 it is possible to define a complete XQL expression within the ‘arg’ attribute of the directcommand.

<xapp:directcommand type=“query” arg=“/Property[./@Category=‘Sell’] sortby(./Address/State)”/>

Bye,
Christian.