Shelter first....fire before water. Water before food. You can last for days and days without food. Lots of hours without water. But you'll either freeze from cold or boil from the heat of the sun long before you die from thirst or hunger.