Use better code for packet cache ordering