swap the order of graph on analysis result