In this case you will have all plots (from taskId and from taskParentId) in mixed order. May be it is better to sort before adding ?