Hey all quick question ... say I've got an array called activeArray

I've pushed various movieclips to the array and used sort to sort the array A-Z

If I now wanted to loop through the array and check if a property attached to each movieclip ... let's say that each movieclip looks something like player1.isOnline = true ... how would I loop through the array and bring the movieclips with the isOnline property = true to the front?

I'm guessing I need to use sortOn? Oh and I've already removed any duplicate movieclips so I need to avoid adding anymore duplicates