Mouth is the first part of the alimentary canal through which we ingest the food.
From the mouth, through the oesophagus food reaches the stomach.
From here the food is then passed to the small intestine and finally, it reaches the large intestine.
So the correct order is
Mouth---> oesophagus---> stomach ----> small intestine ----> large intestine