I have 2 lists (unique elements) (mainly lists of strings).
l1 = ['a','b','c']
l2 = ['c','b','a']
and I would like to have a function:
def foo_id(list)
where it generates an id based on their elements but without taking into account the order of the elements in my list.
i.e
foo_id(l1) == foo_id(l2)