Sorting large files using Two Phase Merge Algorithm