use sortedset and add v.connectedEdges