I make app for performing tests. For check for valid answer i have array of correct answers, of type [Int]. It may be, for example, [1, 5, 10].
Also i have array of questions id's that user entered, also [Int] type.
Now i have to somehow compare that arrays. But, [1,5,10] should be equal to [10,1,5] and [5,1,10], etc., because order is not guaranteed. How to achieve that?