Fixed a big in edges (neighbours) sorting that incorrectly sorted partition ID.