Based on the comments here and here, I find the following method to determine whether two sets are equal:
a = {1, 2, 3};
b = {1, 3, 2};
If[AllTrue[a, MemberQ[b, #] &] && AllTrue[b, MemberQ[a, #] &],
Print["a=b"], Print["a\[NotEqual]b"]]
a=b
But this method seems quite cumbersome. Are there any good suggestions?
Regards, HZ