Implementation of external-memory merge-sort algorithm using JAVA.