add parallel sorting