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]: ['119', '329', 'w']
[EX A]: 1, 2, 3, 9

[EX Q]: ['229', 'q', 'e']
[EX A]: 2, 9

[EX Q]: ['441', '287', '433', '81', 'y', '131', 't', 'w', 'w', '25']
[EX A]:
1, 2, 3, 4, 5, 7, 8