ordered = ['salat', 'baguette', 'burger', 'pizza'] unordered = ['pizza', 'burger'] unordered = set(unordered) # into set for better performance ordered = [item for item in ordered if item not in unordered]