in reply to sort an array according to another array

You might find this recent post by japhy enlightening.Language::MySort
  • Comment on Re: sort an array according to another array