I am trying to order a list containing integers. I want them sorted in numerical order from lowest to highest. I tried using sort but got the list baxk exactly as it was.
x = [5, 3, 7]
x.sort
print x
What command would I usr to make this return [3, 5, 7]?
Thanks for your help.