Unifies Set with a list holding the same elements as List
in the same order. If list contains duplicates, only the
first is retained. See also sort/2.
Example:
Set1 and Set2 are lists without duplicates, sorted
to the standard order of terms. Set3 is unified with an
ordered list without duplicates holding the union of the elements of Set1
and Set2.