Pregunta de entrevista de J.P. Morgan

How to sort a list of Employee objects based on emp ID?