use CountDownLatch in parallel sort

CountDownLatch is more useful for synchronization in the end of the step
(wait for all threads finish their task)