Testable external sort example