in below code snapped passing returnSecond () function to key parameter. The returnSecond() function is the user define the function, which just returns the second element, so the sorted() function returns a new sorted list in sorting order based on the second element of the tuple....