[Gambas-user] A piece of code to sort an array of collections

Jussi Lahtinen jussi.lahtinen at gmail.com
Thu Jan 21 22:30:48 CET 2021


>
> > Collections are not guaranteed to keep order or so Benoit has said. I
> > don't know in what situation the order can change.
>
> They do: collections always enumerate its values in the order they were
> inserted.
>
> https://gambaswiki.org/wiki/comp/gb/collection/_next
>

OK, thanks for the clarification. It seems there was miscommunication, he
is sorting the array of collections, not the collections.


Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210121/e1486c82/attachment.htm>


More information about the User mailing list