BNP Paribas interview question

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