fix random behaviour of mca_topo_base_dist_graph_distribute

topo->{in,out}[w] was received with MPI_ANY_SOURCE and data was hence
stored in a random location.

This commits sorts the data per source in order to make it deterministic