How can I remove duplicate items from a list if all I know is that the list elements can be ordered? (I also don't care about the order of items in the list.)
Existing questions like How to remove duplicates from Python list and keep order? or Removing duplicates in lists require the use of a set, i.e. require the items in the list to be hashable. In my case, hashability is not a guarantee.