Dear help
I am struggling to figure out why the following sorting algorithm doesn't work. Please help if you can. :)
>>
#myList is a list of arbitrary length
for i in range (len(myList)):
for j in range (i, len(myList) - 1):
if myList < myList[j]:
myList, myList[j] = myList[j], myList