WIP on external sorter