Autodesk Interview Question

Given a list with duplicates, sort the list