External sorting in Java 8