When I try to sort a list of strings of numbers with the following code it gives me a wrong result.
n = list(input().split())
n.sort()
print(n)
for
input = 10 11 100 200 300 34
, after sorting it gives
['10', '100', '11', '200', '300', '34']
where output should be '10', '11', '34', '100', '200', '300']