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: ['k', '413', '321', '209', 'k', '263']
Example Output: 0, 1, 2, 3, 4, 6, 9

Example Input: ['o', 'e', '187', '153', 'a', '253', 'f']
Example Output: 1, 2, 3, 5, 7, 8

Example Input: ['n', '295', 's', '327', 'o', '137', 'o', '455', 'w']
Example Output:
1, 2, 3, 4, 5, 7, 9