I've some sorted lists with variable number of elements. I wold like to merge the lists into one big list which contains all other lists in same order, without duplicates.
Example:
1. XS,M,L,XL
2. S,M,XXL
3. XXS,XS,S,L
Result:
XXS,XS,S,M,L,XL,XXL
The function should notify, if there are elements which have ambiguous positions. Here, it would be XXL and I need to specify its position after XL.