Detailed Instructions: In this task, you are given an input list A comprising of numbers and alphabets. You need to extract and sort the unique alphabets in the list. The alphabets in the input list will only be in lowercase. Return -1 if there is no alphabet in the input list.
Problem:['f', '7627', 'p', 'u', '3457', 'a', '4183', '9931', 'g', '4395', '4665', 'w', 'm', 'z', '9671', '961', '5353', 'j', 'i', '1999', '5195', 'q', 'l', '35', 'u', '8521', 'j', '6327', '5477', '665', '9841', '131', '3811', 'l', 'q', 'f', '3221', 'k', '9413', 'l', 'k', '2803', 'i']
Solution:
a, f, g, i, j, k, l, m, p, q, u, w, z