chapter 13 - external sorting