Python sorting list with negative number
问题 In attempt to learn python by practicing, I am trying to implement and test out quick sort algorithm using python. The implementation itself was not difficult, however the result of the sort is somewhat puzzling: When I sort a list ['35', '-1', '-2', '-7', '-8', '-3', '-4', '20', '-6', '53'] the result gives me ['-1', '-2', '-3', '-4', '-6', '-7', '-8', '20', '35', '53'] So the list is sorted however the negative integers are sorted in reverse order. I suspect this may be the problem with the