Autodesk interview question

Given a list with duplicates, sort the list