in my program i have an array that has carIDs and with those carIDs i do querys to get the name of the manufacturers to another array. After that i need to sort the manufacturer array to get it in alphabetical order but i need the carID array to be in the same order than manufacturer array. So i probarly need multiarray that has both arrays or some algorithm.. Anyone?
This might make it more clear what i need:
example:
carID[] = (4,6,7,1) -> then do querys to get the manufactures
Manufacturer[] = (Nissan,Honda,Ferrari,Dodge)
sort(Manufacturer)
now:
Manufacturer[] = (Dodge,Ferrari,Honda,Nissan)
and the carID array sould be like this: carID = (1,7,6,4)