Reorder graph in class.index.inc.php