I have expressed myself wrong, I am sorry.
It's not that I don't recognize it but it doesn't give me anything back.

          var A:Array = Glb.AVecIni.DTPersonal;
          Glb.AVecIniPer.DTPersonal = new ArrayCollection(A);
          var B:Array = A.slice().sortOn("NOMBRECOMPLETO");
          Glb.ANombre = new ArrayCollection(B);

Glb.AvecIni.DTPersonal : has 112 records
A : has 112 records
Glb.AvecIniPer.DTPersonal : has 112 records
A.slice() : has 112 records
B : 0 records

I have debugged and see no errors.

Thanks,
Hiedra

De: Alex Harui <[email protected]>
Enviado el: jueves, 03 de octubre de 2019 23:07
Para: [email protected]
Asunto: Re: Migrate from Flex - Array - SortOn

Please provide a few lines of the code that uses SortOn and what error you are 
getting.  Royale should handle SortOn.  The compiler should generate a call to 
Language.sortOn.

Thanks,
-Alex

From: Maria Jose Esteve <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, October 3, 2019 at 1:24 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Migrate from Flex - Array - SortOn

[cid:[email protected]]
Hello,
In my Flex code I use Array and SortOn but in royale SortOn does not recognize 
me, what alternative is there?

Any help will be welcome, thanks.

Reply via email to