add a order flag to prio command to determine the order of the tasks plan
change output after processing prio with order option