Run
nums = [2, 8, 1, 6, 'apple', 'watermelon'] nums_sorted = sorted(nums) print(nums_sorted)
Output