Fixed a bug for edgelist ordering to allow default calls to the sorting neighbours function.