WhatsApp group messages are not in order
It is a known problem/bug and no solution has been found to this problem. So, your phone is working perfectly, no need to worry. When Whatsapp team gets a solution to this problem,  they will probably release an update.