Graphs are now restored to sorted output.