UDP does not guarantee that packets are received in order, or even received at all: User Datagram Protocol - Wikipedia, the free encyclopedia

So to guarantee this you will either have to implement...