Priority queue sketch