Pregunta de entrevista de Google

Develop an algorithm to sort prime numbers