reorder_graph_actions function

Reorder the stored series of graph actions