I seem to be having trouble getting my array sorted. It's an array of movie clips, which are linked to objects. The objects have a numeric field, called "rank", to which each has a unique value. If I try to do
Code:
myArray.sortOn(rank, Array.NUMERIC)
it doesn't seem to sort the array at all, but just randomizes it a little. I'm assuming that this is because it's an array of movie clips linked to objects, not an array of the objects themselves. Is there an easy way to solve this?

Edit: bah didn't see the new sticky, this is Flash 8