Use natural sort order in graph tests.
Merge pull request #1072 from hjoliver/graph-test-sort-order

Use natural sort order in graph tests.