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: ['t', 'v', '469', 'n']
Example Output: 4, 6, 9

Example Input: ['429', 'a', 'g', '7', 'j', 'd', 'y', '113']
Example Output: 1, 2, 3, 4, 7, 9

Example Input: ['415', '145', 'u', '211', 'z', '51']
Example Output:
1, 2, 4, 5