|The stupid question is the question not asked|
Answer: How to Test if Two Arrays are Ordered in the Same Wayby jdhedden (Deacon)
|on Jun 06, 2005 at 16:23 UTC||Need Help??|
Q&A > arrays > How to Test if Two Arrays are Ordered in the Same Way - Answer contributed by jdhedden
Your decision line needs to be:
You have to take into account the elements order with respect to each other. In this case, pos1 <= pos2 <= pos3 ...