TASK DEFINITION: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
PROBLEM: ['e', 'l', 'p', 'e', '55', 'j', 'z', '217', 'v', '399', 's', '119']

SOLUTION: 1, 2, 3, 5, 7, 9

PROBLEM: ['85', '101', 'j', 'g', 'o', 'f', 'w', 'o', 'm', '45', 'e', 'z']

SOLUTION: 0, 1, 4, 5, 8

PROBLEM: ['f', '149', 'q', '135', 'i', 's', 'o', '249', '153', '47', '291', 'l', '325', 'j', 'o']

SOLUTION:
1, 2, 3, 4, 5, 7, 9