How are ingredients listed on food packaging?

Ingredients are listed by amount. If the first ingredient listed on a bottle of hand lotion is water, the main ingredient is water. Likewise in food. If the first two ingredients of a preprepared sauce are water and salt, there is more water and salt than anything else in that sauce.