python list sort unique

Python list sort ()

Python list sort() function is used to sort a list in ascending, descending or user defined order. To sort the list in ascending order…