Respuesta :
the new way of removing duplicates from an iterable while keeping it in the original order
Sets automatically remove duplicates. You can convert it into a set, convert it back into a list, and run sorted() on the list, or your own sorting algorithm.