changes priority queue block type to NSComparator, which has the same signature