Uniqueness with a combination of numbers regardless of sequence : <p>I am working on a feature that requires me to arrive at a unique string. There are 2 attributes for every person in the data model - Company Id and Person Id. The combination of the Co and Person Id will always be unique. When 1 person initiates a conversation with another, I need to create a unique string to identify that conversation.</p>

<p>So, if a Person A (say Co:100, Id:100) starts a conversation with Person B (say Co:200, Id:200), the unique string should be the same as if Person B started a conversation with Person A.</p>

<p>I need to write this logic in JS and C#.</p>
