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.

['x', 'x', '145', 'p', '11', 'j', 'e', '93', '213', '89', '445', 'z', 'z']
1, 2, 3, 4, 5, 8, 9

['i', 'e', '17', 'q', '15', 'v']
1, 5, 7

['k', '447', 'm', '193', '127', '435', 'f', '103', 'b', 'r', '401', 's', 'y']

0, 1, 2, 3, 4, 5, 7, 9