<p>I'm reading lines of text that can come in any order. The problem is that the output can actually be indentical to the previous output. How can I detect this, without sorting the output first?</p>

<p>Is there some kind of hash function that can take identical input, but in any order, and still produce the same result?</p>

So you have input like
```
```
A B C D
D E F G
C B A D
```
```
and you need to detect that the first and third lines are identical?