Implementation of parallel external sorting