Is AP an advantage? If you get good scores. Same with IB. Your application won’t become more competitive by virtue of earning an IB diploma. But if you scored well on it (which seems like the case), then yes. Context is also important. Are you taking the most difficult classes available (IB kind of answers that)? Etc. So yeah, in your case it would help your application.