title: How to access 10 largest numbers inside my priority queue
body: <p>Assuming I have 30 random numbers inside my priority queue, how do I access only a specific number of largest values after I sort them. For example I need to print the top 10 largest numbers inside my priority queue</p>