<div dir="ltr"><div>I don't know what you are going to do with the code, but keep in mind that if the object array will get objects, which does not inherit the compare method, then you will get silent sorting errors.</div><div>So, either keep the variable used in the comparison in the base class or build guard for the object array. Otherwise you will end up with troubles.<br></div><div><br></div><div>Jussi<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 22, 2020 at 1:10 AM martin p cristia <<a href="mailto:tercoide@hotmail.com">tercoide@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks Jussi, that is what I wanted!!!<br>
<br>
-- <br>
Saludos<br>
<br>
Ing. Martin P Cristia<br>
<br>
<br>
----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" rel="noreferrer" target="_blank">http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
</blockquote></div>