Hi,

  Is there a way to query for an object of type X among a pool of objects of type X in working memory that have the maximum/minimum value  of a particular attribute  a1 ?

For example

if I have a class C

Class C {

int a1;
int a2;

}

As part of my rules evaluataion I have N instances of C inserted into working memory  c1,c2.....cn.  Now I would like to query for the object that the max value of attribute a1

Is this possible?

Thanks
Jai