support for parallel sorting