TASK DEFINITION: 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: ['1801', 'q', '5101', '8863', '2309', 'p', '8789', '9529', '6135', '5523', 'f', '8889', '7639', 'k', '263', '5751', '5529', 'g', '1451', '4143', 'e', '6987']

SOLUTION: e, f, g, k, p, q

PROBLEM: ['7367', '9757', '9431', 'h', 'a', 'k', '5833', '6237', 'g', '3585', '8665', 'g', '7517', '1561', 'p', 'p', '1307', '3325', 'q']

SOLUTION: a, g, h, k, p, q

PROBLEM: ['165', 'f', 'r', 'n', '2383', 'd', '7287', '7899', 'e', '7029']

SOLUTION:
d, e, f, n, r