Why Sorted() function shows '1000' less than '996', '999' etc.
Sample Code:
pyList = ['1000', '999', '996', '997', '998']
print(sorted(pyList))
I expect the output: ['996', '997', '998', '999', '1000']
,
but the actual output is ['1000', '996', '997', '998', '999']