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.

[EX Q]: ['t', '211', 'h', '99']
[EX A]: 1, 2, 9

[EX Q]: ['t', 'u', 'e', 'a', '369', 'e', 'r', 'm']
[EX A]: 3, 6, 9

[EX Q]: ['111', '451', '475', '225', 'x', 'g', 'c', '481', 'z', '215', 'u', 'm', 'y']
[EX A]:
1, 2, 4, 5, 7, 8