I'm not sure how to implement the quicksort algorithm into a nested list. If I have a list like this:
L = [['James', '1', '2'], ['Alan', '1', '1'], ['Henry', '1', '5']]
and I want to order it based on the last number in each sublist.
Output:
final = [['Henry', '1', '5'], ['James', '1', '2'], ['Alan', '1', '1']]