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]: ['445', '449']
[EX A]: 4, 5, 9

[EX Q]: ['233', '339', '319']
[EX A]: 1, 2, 3, 9

[EX Q]: ['u', 'i', 'y', 'g', 'n', '363', '493', 'z', '5']
[EX A]:
3, 4, 5, 6, 9

