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', 'b', 'k', 'l', '441', 'b', '115', 'd', 'b', 'r', '115', 'k', 'a']
Example Output: 1, 4, 5

Example Input: ['227', '161', '389', 'g', 'g', 'i', 'm', '199', '487', '65', '341', '377', 'x', 'r']
Example Output: 1, 2, 3, 4, 5, 6, 7, 8, 9

Example Input: ['y', '463', 'f', '477', '359', 'b', '281', '475', '309', 'a', '223', '267', '207', '435']
Example Output:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9