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: ['71', 't', '93', '301', 'g', '447', '373', 'd', '133', 'r']
Example Output: 0, 1, 3, 4, 7, 9

Example Input: ['h', 't', 'h', 'i', 'c', '441', '117', '463', 'r']
Example Output: 1, 3, 4, 6, 7

Example Input: ['381', '139', '447', 'h', 'h', '381', '145', '143', 'j', '213', '119', '379', '387', 'f', 'm']
Example Output:
1, 2, 3, 4, 5, 7, 8, 9