Google Interview Question

Develop an algorithm to sort prime numbers