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-tp3545246p3545281.html
Sent from the Drools: Developer (committer) mailing list mailing list archive
at Nabble.com.
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev