I would like to add sorting via the &quot;filter&quot; proposal we have, see &quot;filters&quot;<br><a href="http://community.jboss.org/wiki/RelationalDataFlows">http://community.jboss.org/wiki/RelationalDataFlows</a><br><br>
Mark<br><br><br><div class="gmail_quote">On Tue, Nov 29, 2011 at 2:31 PM, Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 29 November 2011 15:17, Davide Sottara &lt;<a href="mailto:dsotty@gmail.com">dsotty@gmail.com</a>&gt; wrote:<br>
&gt; What about a &quot;custom&quot; accumulate function?<br>
&gt;<br>
<br>
</div>Then I might as well use init/action/result, as the original poster<br>
did. Also according to him, having it all in DRL is sometimes<br>
preferable. If you have the collection already there (not as the<br>
result of a &quot;from collect&quot; as in my example) a direct transformation<br>
from collection to collection would be preferable.<br>
<br>
But, again, I think this is too rarely needed to warrant a new feature.<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; query &quot;sortedItems&quot;<br>
&gt;      $sortedValues: List() from accumulate (<br>
&gt;            $f : Fact()<br>
&gt;            sortByAnyMethodYouPrefer( $f )<br>
&gt;      )<br>
&gt; end<br>
&gt;<br>
&gt; We could provide some implementations, even better if incremental.<br>
&gt; In the future, we&#39;ll probably provide even better native support for<br>
&gt; this kind of operations.<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://drools.46999.n3.nabble.com/DRL-sorting-Bind-to-eval-result-tp3545246p3545281.html" target="_blank">http://drools.46999.n3.nabble.com/DRL-sorting-Bind-to-eval-result-tp3545246p3545281.html</a><br>

&gt; Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.<br>
&gt; _______________________________________________<br>
&gt; rules-dev mailing list<br>
&gt; <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</div></div></blockquote></div><br>