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.

Example Input: ['377', 'z', '421', '137', 't', 'v', 's', 'l']
Example Output: 1, 2, 3, 4, 7

Example Input: ['g', 'g', 'r', 'g', 'b', 'z', '441', 'z', 'f', '35', 'x', '327', 'l', 'n']
Example Output: 1, 2, 3, 4, 5, 7

Example Input: ['267', '105', 's', '335', '435', '99', '19', '389', 'x']
Example Output:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9