Split sorter into 2 files.