AS3 Mixing Multiple Arrays

Hey all,

The code below shows how I’m mixing an array.

My question is how do I mix multiple arrays but keep the objects inside the arrays in the same order?

e.g. Say I have category2 and it contains “a”, “b”, “c” … if I always wanted “a” to be in the same position in the array as “1”


var category1:Array = new Array("1", "2", "3");

mixNum = category1.sort(cardShuffle1);
						
function cardShuffle1(category1, mixNum):Number {
	randomNum1 = Math.round(Math.random()*2)-1;
	return randomNum1;
}