fixed edge consumption in .getOrderedVertices()