parallel qsort works for rectangular domain