Orange Interview Question

Sort 1TB file on machine with 1GB RAM