workaround for segfault; slightly poor form GraphML but who cares?
[scpubgit/stemmatology.git] / lib / Text / Tradition / Collation / RelationshipStore.pm
index f2d3359..ddad4db 100644 (file)
@@ -614,7 +614,7 @@ sub _as_graphml {
     
     # Add the vertices according to their XML IDs
     my %rdg_lookup = ( reverse %$node_hash );
-    my @nlist = sort _by_xmlid keys( %rdg_lookup );
+    my @nlist = sort keys( %rdg_lookup );
     foreach my $n ( @nlist ) {
        my $n_el = $rgraph->addNewChild( $graphml_ns, 'node' );
        $n_el->setAttribute( 'id', $n );