External Sorting solution in Java with Description