Skip to Content
0
Former Member
Mar 17, 2011 at 10:45 AM

sort result set with multiple fields

1474 Views

Hi, Can we sort a result set(table view) with multiple fields at a time.

In General we use a sort statement as:

Sort TTT table by f1 f2 f3.

but, in this table view i'm trying to sort a collection.

me->typed_context->resultnode->collection_wrapper->SORT( iv_attr_name = 'GROWER_NAME' ).

with the above sort, the result set is sorted w.r.t to one field.

Can we sort the collection with multiple fieds at a time.

I tried this, but coudnot get.

Pls provide some pointers on this.