human
Sorting numbers in string format with Python
assistant
Here is some code to sort a list of integers `keys` where each value is in string format

keys.sort(key=lambda x: [int(y) for y in x.split('.')])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.