I am trying to sort scores from a list that was put into a text file and then transferred into another list. I have tried two methods (shown below) but both of them seem to sort by the first digit of the number, similar to as if it was a decimal number. How can I fix this to sort the list by the full value of the numbers rather than just the first digit?
Code:
Output:
Code:
Output: