Given a list of integers nums, return a sorted list of all numbers that appear more than once.
If no duplicates exist, return an empty list.
This is a classic data cleaning problem — finding duplicate records, transaction IDs, or user entries in a dataset before processing.