let the do_listtasks lists the tasks in the order they run, the current output has no order.
There is no definitive order for the tasks since some can execute in parallel. I therefore think trying to show these in an order is going to be confusing to the user and I'm not sure this is a good idea.
(In reply to comment #1) > There is no definitive order for the tasks since some can execute in > parallel. I therefore think trying to show these in an order is going to be > confusing to the user and I'm not sure this is a good idea. Hi RP, thanks for the review, yes, the parallel tasks may confuse user, but is it possible to mark the parallel tasks, is it easy to do ? I will drop this one if not.
We'd probably need specific new API to be able to do this and I'd prefer not to add that unless there is a pressing usecase...