If you apply a compareFunction to the Sort, I think it passes in each item
and doesn't pass in the field value.

-Alex

On 3/24/16, 4:38 PM, "chris_d_k" <[email protected]> wrote:

>In the following test project the arrayCollection is changed after the
>refresh... but why?
>
><?xml version="1.0" encoding="utf-8"?>
><s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009";
>xmlns:s="library://ns.adobe.com/flex/spark" creationComplete="test()">
>    <s:navigationContent>
>        <s:Button label="Home" click="navigator.popToFirstView()"/>
>    </s:navigationContent>
>    <fx:Script></fx:Script>
></s:ViewNavigatorApplication>
>
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Sorting-ArrayCollection-not
>-as-expected-tp12355.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to