If you look at here: http://stackoverflow.com/questions/1368122/flex-sort-writing-a-custom-comparefunction
There they both use the Sort and compareFunction. Thats what I am trying to accomplish. I am trying to do a custom sort, then alphabetic. 2013/2/27 Tom Chiverton <t...@extravision.com> > I meant > > grunner.sort.fields = [new SortField("code")]; // Sort > grunner.sort.compareFunction = myCompare; //compareFunction > > If your IDE has given up, just add some trace() statements. There's a > method in ObjectUtil that'll dump Array (well, anything) sensibly. > > Tom > > > On 27/02/2013 08:55, Shervin Asgari wrote: > >> What do you mean sort and compareFunction? >> > >