ArrayPriority queue