better order codegraph