ordered = ['salat', 'baguette', 'burger', 'pizza']
unordered = ['pizza', 'burger']
unord = set(unordered)
ordered = [e for e in ordered if e in unord]
Python: Removing entries from ordered list, that are not in unordered list