Tested execution order determination algo