In my interactive quiz, arr1 can be rearranged via drag and drop while arr2 represents the correct array order.
The goal is to compare the reordered indexes of arr1 with the ids in arr2 by using the re-ordered index of value1.
For example, currently items 0 and 4 in arr1 should be considered correct after comparison.
I attempted a comparison using: if (value1.image === value2.image && value1.$index=== value2.id)
Unfortunately, this approach did not work as expected.