multiple ndoes mpi sorting