Compare arrays

Hi,

I have 2 arrays that contain the same values but in a different order. i’d like to reorder the first array like the second one but i have no ideas how to do that easily.
Thank’s for your help.
Chris