In general, the essence of the question is as follows. The program creates a file with approximately the following content: 1) 1,2,3,4 2) 5,2,3,4 3) 1,2,8,4 4) 1,2,3,3 5) 4,3, 2.1 n) .......
I need to remove duplicate (containing the same elements, but let's say in a different order) lines for example 1 and 5. How to do this?