title: Using the sort function in python, having issues with it
body: <pre><code>howManyNames = (float(input("Enter how many student names do you want to enter? ")))
  studentNames = []
  ages = []
  averageAge = 0
  counter = 0
  
  while (counter &lt; int(howManyNames)):
      studentNames.append(input("Enter student names. "))
      ages.append(float(input("Enter that persons age. ")))
      counter += 1
      averageAge = sum(ages) / float(howManyNames)
  print ("Your average age is ", averageAge, "!")
  
  for age in ages:
     if age &lt; int(averageAge):
        print ("Your age is below the average age.", age)
     else:
        print ("Your age is above the average age.", age)
  </code></pre>
  
  <p>I'm having issues trying to use the sort function I've tried print sort(ages) 
  print ages.sort() but and etc but nothing seems to be working. </p>