Select the correct order for fats, proteins and carbohydrates with respect to their calorific value.
Write the functions for carbohydrates,proteins,fats,vitamins and minerals.