Ok

If I have 2 strings :

strA = "1,2,3" and strB = "3,2,1"

and I compare them they obviously wont equal eachother.

However in my logig because they both contain the same 3 numbers I want to be able to say well yes man they do equal eachother.

This would require that I sort both strings.
I have seen a number of approaches but none seem too concise.

Any Ideas ?


Thanks in Advance