Potential solution: forEach on the parent API instead of it's children so that the order doesn't get muddled?