I have array-of-arrays like the ones below :
[[0, 3], [0, 4, 1, 5], [0, 2]]
[[0, 4, 1, 5], [0, 3], [0, 2]]
[[0, 2], [0, 4, 1, 5], [0, 3]]
[[0, 4, 1, 5, 3], [0, 2]]
[[0, 4, 1, 5, 3, 2]]
If you look at the first 3 examples they are the same array, just ordered differently.
At any time I have to compare two such AoA and figure out if they are the same.
What is the fastest way to do that ? The arrays themselves are small, but I have to do this check very often.