parallel arrays sort