order by sort, graph_name

This is useful when sorts are not set.