You can use a temporary sentinel character to delimit the number:
$ sed 's/\([0-9]\+\9]\)/;\1/' log | sort -n -t\; -k2,2 | tr -d ';'
Here, the sentinel character is ';' - it must not be part of any filename you want to sort - but you can exchange the ';' with any character you like. You have to change the sed, sort and tr part then accordingly.
The pipe works as follows: The sed command inserts the sentinel before any number, the sort command interprets the sentinel as field delimiter, sorts with the second field as numeric sort key and the tr commandscommand removes the sentinel again.
And log denotes the input file - you can also pipe your input into sed.