Oracle interview question

- implement external sort