title: Making cProf give only the 10 most time-consuming tasks or sort them by time in reverse order
body: <p>I'm running the following code line on my terminal to get a profile of my program.</p>
  
  <pre><code>python3 -m cProfile -s time  main.py
  </code></pre>
  
  <p>However the output it prints is gigantic. I only want to know the 10 most time-consuming tasks or to sort them in ascending order. How can I tell this to cprof?</p>