When cooking with onions, cook them first. Not only do they take a little longer than some other ingredients (notably garlic, which should be added to onions after the onions are translucent, about ...