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: ['c', '155', '61']
Example Output: 1, 5, 6

Example Input: ['411', '367']
Example Output: 1, 3, 4, 6, 7

Example Input: ['x', 'n', '135', '173', 'g', '91', 'j', '469', 'z', 'x', 'z']
Example Output:
1, 3, 4, 5, 6, 7, 9