+100
On Mon, Jun 19, 2017 at 2:14 PM, Gabriel Cotelli
wrote:
> You can do anything in the collect block, so the returned objects possibly
> cannot be sorted, and even if it can be sorted maybe the sort block is not
> compatible.
>
> On Mon, Jun 19, 2017 at 6:04 AM, Denis Kudriashov
> wrote:
>
>
You can do anything in the collect block, so the returned objects possibly
cannot be sorted, and even if it can be sorted maybe the sort block is not
compatible.
On Mon, Jun 19, 2017 at 6:04 AM, Denis Kudriashov
wrote:
> Hi.
>
> I just found that
>
>
> #() asSortedCollection select: [ ] => Sort
2017-06-19 11:19 GMT+02:00 Yuriy Tymchuk :
> I think that this stick has 2 ends :). Often people have a collection and
> do not care how it ended up in that order, but want to preserve the order.
> Imagine that you have a collection of ascending numbers and you collect
> #negated and want to have
I think that this stick has 2 ends :). Often people have a collection and do
not care how it ended up in that order, but want to preserve the order. Imagine
that you have a collection of ascending numbers and you collect #negated and
want to have the same order, but if you create a sorted collec