I have a list: [[1,2],[2,1],[3,1],[1,4],[3,3],[1,4]] How to remove all the duplicate or same after sorted from the lists? That is, [1,2] and [2,1] are the same after sorting them. I want the result to be: [[1,2],[3,1],[1,4],[3,3]]