I have been trying to sort an array that looks like this:
sav = [['Name: ', 'Alex', 'Score: ', '2'], ['Name: ', 'Josh, 'Score: ', '3'], ['Name: ', 'James', 'Score: ', '1']]
so that it appears as:
sav = [['Name: ', 'James', 'Score: ', '1'], ['Name: ', 'Alex, 'Score: ', '2'], ['Name: ', 'Josh', 'Score: ', '3']]
This would be sorting by the [3] index but as the number is a string I am not sure how to do this. (This may look like a duplicate question but I have looked around and not been able to find an answer.)