In Matthew 14 we see the death of John the Baptist; then the feeding of the 5000 (verses 13-21); followed by Jesus walking on water (verses 22-33) and lastly Jesus heals the sick. Special note: I believe John’s account in John 6:1-14 the only Gospel account that mentions the boy.
The feeding of the 5000 is the only miracle besides the resurrection that is reported in all 4 Gospels. Also notice, when a lot is going on Jesus retreats to prayer and so should we.