Duplicated values

Print the sorted list of values that appear more than once in `nums`.

Liseh Academy
Duplicated values Coding Challenge | Liseh Academy