checks order in graph functions is changed