Pregunta de entrevista de Deloitte

Make an algorithm to sort dictionaries in python