Thanks all.

I have solved the issue.
The error seemed to be from this line: return fields.getItemIndex(a) -
fields.getItemIndex(b);
Somehow it didn't get the index right.

I changed it to do a normal alpabetic search in those cases, and it worked.

Shervin


2013/2/27 Justin Mclean <jus...@classsoftware.com>

> Hi,
>
> It may be theres an issue at this line unless your code you posted is
> incomplete:
> var grunner:ArrayCollection = //getting collection
>
> After this line is there anything in the grunner array?
>
> Add trace statements or run though a debugger to see what the issues is
> would be the simple way to find out what is wrong in the code.
>
> Thanks,
> Justin

Reply via email to