Domanda di colloquio di BNP Paribas

How you sort a 10GB file in Java without using any external api. Jvm size is 1Gb