in reply to How to Order an Array's Elements to Match Another Array's Element Order

Why? What does your real data look like?

Our knowing why and what the data looks like is important because an optimum solution may depend on things like how many items there are in the respective arrays and how big those items are. Or it may be that you've landed on a solution that can't be made to work well and knowing why you ended up here may make finding a better solution possible.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re: How to Order an Array's Elements to Match Another Array's Element Order