I've been using an online Paella recipe that instructs you to sweat some onions for 5 minutes, then add garlic for a few minutes, followed by the vegetables, tomatoes, rice and stock.
Is there a reason the onions need to be added and fried first (and before the garlic)? Does it affect the taste at all?
Recipe was Saffron Seafood Paella