phase1: prioritize builders by branch order