[Gambas-user] Sorting 2D arrays

Fabien Bodard gambas.fr at gmail.com
Tue Aug 25 15:22:35 CEST 2020


Le mar. 25 août 2020 à 09:41, Gianluigi <bagonergi at gmail.com> a écrit :
>
>
>
> Il giorno mar 25 ago 2020 alle ore 00:27 Gianluigi <bagonergi at gmail.com> ha scritto:
>>
>>
>>
>> Il giorno lun 24 ago 2020 alle ore 18:38 Fabien Bodard <gambas.fr at gmail.com> ha scritto:
>>>
>>> More short ;-)
>>
>>
>> Test attached, following the directions of Fabien Bodard in the hope that he will not scold me.
>> I hope this is more understandable
>
>
> John,
>
> the advantage of using a class is that you can have arrays of different data types.
> For example the dates and if you have to sort the class by date use _compare as in the ClasseUser class.
> Be careful because I see that you have dates written differently from each other.


The best will be to use the date format for comparison
> Regards
> Gianluigi
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----



-- 
Fabien Bodard


More information about the User mailing list