partition_submit_tasks() should take the start file offset and the number of
records to sort as arguments.