Added details of algorithm to generate plugin execution order.