Updated the way vertices are written to gexf file.

Vertices are now places in order of id.