Question d’entretien chez Two Sigma

Design a more efficient way to sort a list using a hashmap