title: How do I sort the results of this Python program from lowest to highest values?
body: <p>Below is my code, which generates X instances of random numbers between 0 and 101. </p>
  
  <pre><code>import random
  
  x = int(raw_input("Enter desired number: "))
  
  def randoTaker():
      print(random.randint(0, 101))
  
  randoTaker()
  
  for i in range(x-1):
      randoTaker()
  </code></pre>
  
  <p>My question: how do I sort these results from low to high? For example: let's say my current output for an input of value of 4 is 12, 34, 5, 45. My desired result would be 5, 12, 34, 45.</p>
  
  <p>Any help would be very appreciated!</p>