What about a "custom" accumulate function?
query "sortedItems"
$sortedValues: List() from accumulate (
$f : Fact()
sortByAnyMethodYouPrefer( $f )
)
end
We could provide some implementations, even better if incremental.
In the future, we'll probably provide even better native support for
this kind of operations.
--
View this message in context:
http://drools.46999.n3.nabble.com/DRL-sorting-Bind-to-eval-result-tp35452...
Sent from the Drools: Developer (committer) mailing list mailing list archive at
Nabble.com.