fix order of packets (blocks) in packetbuffer