Use set()s instead of lists for comparison as the order is not guaranteed.