# Compare arrays

**URL:** <https://forum.kirupa.com/t/compare-arrays/82736>\
**Category:** Uncategorized\
**Created:** [March 12, 2005, 10:23pm UTC](https://forum.kirupa.com/t/compare-arrays/82736 "2005-03-12T22:23:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asthyanax](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@asthyanax](https://forum.kirupa.com/u/asthyanax)\
**Post date:** [March 12, 2005, 10:23pm UTC](https://forum.kirupa.com/t/compare-arrays/82736/1 "2005-03-12T22:23:22Z")

</div>

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
